Skip to content

Commit

Permalink
added test for StringBuilder/StringBuffer to String
Browse files Browse the repository at this point in the history
  • Loading branch information
jdereg committed Apr 22, 2024
1 parent 50d5f85 commit 5c551ff
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,12 @@ private static void loadStringTests() {
TEST_DB.put(pair(String.class, String.class), new Object[][]{
{"same", "same"},
});
TEST_DB.put(pair(StringBuffer.class, String.class), new Object[][]{
{new StringBuffer("buffy"), "buffy"},
});
TEST_DB.put(pair(StringBuilder.class, String.class), new Object[][]{
{new StringBuilder("buildy"), "buildy"},
});
}

/**
Expand Down

0 comments on commit 5c551ff

Please sign in to comment.