You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// java String.split() works as expected
assertEquals(1, "Hello World\n".split("\n").length);
TestSubscriber<String> subscriber = Strings
.from(new StringReader("Hello World\n"))
.compose(Strings.split("\n"))
.test();
subscriber.assertValueCount(1); // Fails with a result of '2'
subscriber.assertValues("Hello World"); // Fails with a result of ['Hello World', '']
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: