nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/popcorn: add response handler for csv documents
[nit.git]
/
tests
/
test_string_long.nit
diff --git
a/tests/test_string_long.nit
b/tests/test_string_long.nit
index
1b59ba8
..
2e03070
100644
(file)
--- a/
tests/test_string_long.nit
+++ b/
tests/test_string_long.nit
@@
-14,13
+14,12
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-
var s = "Bonjour !\n"
var s = "Bonjour !\n"
-var r = new Buffer.with_capacity(50)
-var r2 = new Buffer
+var r: Buffer = new FlatBuffer.with_capacity(50)
+var r2: Buffer = new FlatBuffer
var i = 0
var i = 0
-while i < 5000 do
+while i < 1000 do
var j = 0
while j < s.length do
r.add(s.chars[j])
var j = 0
while j < s.length do
r.add(s.chars[j])