aboutsummaryrefslogtreecommitdiff
path: root/src/unit
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/unit/fstring.unit2
-rw-r--r--src/unit/hash.unit8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/unit/fstring.unit b/src/unit/fstring.unit
index fe41ae9..8aaae93 100644
--- a/src/unit/fstring.unit
+++ b/src/unit/fstring.unit
@@ -74,7 +74,7 @@
74 unitTest( a == "ab" ); 74 unitTest( a == "ab" );
75 a += "cdefghijklmnop"; 75 a += "cdefghijklmnop";
76 a.remove( 5, 1 ); 76 a.remove( 5, 1 );
77 unitTest( a = "abcdeghijklmnop" ); 77 unitTest( a == "abcdeghijklmnop" );
78} 78}
79 79
80{%add1} 80{%add1}
diff --git a/src/unit/hash.unit b/src/unit/hash.unit
index 9edc61e..c0a10e3 100644
--- a/src/unit/hash.unit
+++ b/src/unit/hash.unit
@@ -45,13 +45,13 @@ typedef Bu::Hash<int, Bu::FString> IntStrHash;
45 unitTest( h["Hi"].getValue() == "Yo" ); 45 unitTest( h["Hi"].getValue() == "Yo" );
46 46
47 StrStrHash h2(h); 47 StrStrHash h2(h);
48 unitTest( h2["Hi"].getValue() = "Yo" ); 48 unitTest( h2["Hi"].getValue() == "Yo" );
49 unitTest( h2["Bye"].getValue() = "Later" ); 49 unitTest( h2["Bye"].getValue() == "Later" );
50 50
51 StrStrHash h3; 51 StrStrHash h3;
52 h3 = h; 52 h3 = h;
53 unitTest( h3["Hi"].getValue() = "Yo" ); 53 unitTest( h3["Hi"].getValue() == "Yo" );
54 unitTest( h3["Bye"].getValue() = "Later" ); 54 unitTest( h3["Bye"].getValue() == "Later" );
55} 55}
56 56
57{%insert3} 57{%insert3}