aboutsummaryrefslogtreecommitdiff
path: root/tests/space_search.js
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2019-12-18 20:57:16 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2019-12-18 20:57:16 -0500
commit84d292cfdad4249885e43b7123634e5a8dd0ff1f (patch)
tree1f4b3f0b674f85dc033275fb5ad49f19aa7058c7 /tests/space_search.js
parentcb7d31d863320db9257a619eea0422cc43bb05a4 (diff)
updated socket and space to export the main class
Diffstat (limited to 'tests/space_search.js')
-rw-r--r--tests/space_search.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/space_search.js b/tests/space_search.js
index fffdcc7..14ec174 100644
--- a/tests/space_search.js
+++ b/tests/space_search.js
@@ -1,8 +1,8 @@
// Tests space.search
-const space = require('../space')
+const Space = require('../space')
-let text = new space.Space();
+let text = new Space();
text.adhoc('\
\n\
jarvis\n\
@@ -10,7 +10,7 @@ text.adhoc('\
jarvis \
');
-let line = new space.Space();
+let line = new Space();
line.adhoc('jarvis');
console.log(text.search(line))