Skip to content

Commit

Permalink
Oops, accidental commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Jan 10, 2024
1 parent 0f17e9b commit 7aec714
Showing 1 changed file with 9 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,51 +6,36 @@
public class UT_StringLiteralsJavaTest {
@Test
public void empty() {
expectSelfie("").toBe("");
expectSelfie("").toBe_TODO();
}

@Test
public void tabs() {
expectSelfie("\t\t\t").toBe("\t\t\t");
expectSelfie("\t\t\t").toBe_TODO();
}

@Test
public void spaces() {
expectSelfie(" ").toBe(" ");
expectSelfie(" ").toBe_TODO();
}

@Test
public void newlines() {
expectSelfie("\n").toBe("""
""");
expectSelfie("\n\n").toBe("""
""");
expectSelfie("\n\n\n").toBe("""
""");
expectSelfie("\n").toBe_TODO();
expectSelfie("\n\n").toBe_TODO();
expectSelfie("\n\n\n").toBe_TODO();
}

@Test
public void escapableCharacters() {
expectSelfie(" ' \" $ ").toBe(" ' \" $ ");
expectSelfie(" ' \" $ \n \"\"\"\"\"\"\"\"\"\t").toBe("""
\s' " $\s
\s\"\"\"\"\"\"\"\"\"\t""");
expectSelfie(" ' \" $ ").toBe_TODO();
expectSelfie(" ' \" $ \n \"\"\"\"\"\"\"\"\"\t").toBe_TODO();
}

@Test
public void allOfIt() {
expectSelfie(" a\n" +
"a \n" +
"\t a \t\n").toBe("""
\s a
a \s
\t a \t
""");
"\t a \t\n").toBe_TODO();
}
}

0 comments on commit 7aec714

Please sign in to comment.