nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Add test_astbuilder to the skip list of nitcg niti nitvm
[nit.git]
/
tests
/
test_hash_text.nit
diff --git
a/tests/test_hash_text.nit
b/tests/test_hash_text.nit
index
e655dd8
..
907f897
100644
(file)
--- a/
tests/test_hash_text.nit
+++ b/
tests/test_hash_text.nit
@@
-12,13
+12,17
@@
# 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 x = "string__NativeString__to_s_with_length"
+var x = "string__CString__to_s_with_length"
-var y = "string" + "__" + "NativeString" + "__" + "to_s_with_length"
+var y = "string" + "__" + "CString" + "__" + "to_s_with_length"
-var z = new FlatBuffer.from("string") + "__" + "NativeString" + "__" + "to_s_with_length"
+var z = new FlatBuffer.from("string")
+z.append("__")
+z.append("CString")
+z.append("__")
+z.append("to_s_with_length")
-var a = ["string", "NativeString", "to_s_with_length"].join("__")
+var a = ["string", "CString", "to_s_with_length"].join("__")
print x.hash == y.hash
print y.hash == z.hash
print x.hash == y.hash
print y.hash == z.hash