mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
as_str() replaced by str_view()
This commit is contained in:
@@ -11,6 +11,6 @@ fn void! test_writing()
|
||||
ByteReader r;
|
||||
String test_str = "2134";
|
||||
s.read_from(r.init(test_str))!;
|
||||
String o = foo.as_str();
|
||||
String o = foo.str_view();
|
||||
assert(o == "hello-what?-------------------------------------------------------2134");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user