File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed
liquidjava-verifier/src/test/java/liquidjava/rj_language Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -16,38 +16,4 @@ public void testLiteralString() {
1616 LiteralString s2 = new LiteralString ("world" );
1717 assertNotEquals (s1 .hashCode (), s2 .hashCode ());
1818 }
19-
20- @ Test
21- public void testEqualsSameContent () {
22- LiteralString a = new LiteralString ("hello" );
23- LiteralString b = new LiteralString ("hello" );
24- assertTrue (a .equals (b ));
25- assertTrue (b .equals (a ));
26- }
27-
28- @ Test
29- public void testEqualsDifferentContent () {
30- LiteralString a = new LiteralString ("hello" );
31- LiteralString c = new LiteralString ("world" );
32- assertFalse (a .equals (c ));
33- assertFalse (c .equals (a ));
34- }
35-
36- @ Test
37- public void testEqualsSameReference () {
38- LiteralString a = new LiteralString ("hello" );
39- assertTrue (a .equals (a ));
40- }
41-
42- @ Test
43- public void testEqualsNull () {
44- LiteralString a = new LiteralString ("hello" );
45- assertFalse (a .equals (null ));
46- }
47-
48- @ Test
49- public void testEqualsDifferentClass () {
50- LiteralString a = new LiteralString ("hello" );
51- assertFalse (a .equals (new Object ()));
52- }
5319}
You can’t perform that action at this time.
0 commit comments