updated string_stream_test
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 18 Feb 2021 20:26:20 +0000 (14:26 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 18 Feb 2021 20:26:20 +0000 (14:26 -0600)
tests/string_stream_test.onyx

index 55a10a63931b290306c58cb6e14d356ce6bd65c4..8fe127b2f09081f03b0aaaacda1e52494e6fd6e0 100644 (file)
@@ -9,7 +9,7 @@ main :: proc (args: [] cstr) {
     sreader := io.reader_make(^sstream);
 
     for i: 0 .. 2 {
-        word := io.read_word(^sreader, context.temp_allocator);
+        word := io.read_word(^sreader, allocator=context.temp_allocator);
         println(word);
     }
 
@@ -21,4 +21,4 @@ main :: proc (args: [] cstr) {
     println(a);
     println(b);
     println(a + b);
-}
\ No newline at end of file
+}