aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/space_fromfetch.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/space_fromfetch.js b/tests/space_fromfetch.js
index 67b41cc..e6c7846 100644
--- a/tests/space_fromfetch.js
+++ b/tests/space_fromfetch.js
@@ -3,7 +3,8 @@ const Space = require('../space')
newspace = new Space()
-newspace.fromfetch({"4,2": {"content": " hhhhhhhh k hone ns ", "properties": {"writability": null, "cell_props": {}}}},[4,2,4,2],conform=false);
+newspace.fromfetch({"4,2": {"content": " hhhhhhhh k hone ns ", "properties": {"writability": null, "cell_props": {}}}},[[4,2],[4,2]],conform=false);
// Straight from a real tileUpdate
+console.log(newspace.loc);
console.log(newspace.data); //Should be an array of arrays of chars, representing the content of "content" above.