在编译项目时,我在@Test
public void test() {
final String text =
"header line 1\n" +
"header line 2\n" +
"header line 3\n" +
"\n" +
"line 1\n" +
"line 2\n" +
"line 3";
MatcherAssert.assertThat(
new Mapped<>(
txt -> txt.asString(),
new Skipped<>(
new SplitText(
text,
"\n"
),
4
)
),
Matchers.contains("line 1", "line 2", "line 3")
);
}
中遇到错误。
我试图解决它,但我不能,有人帮助我吗?
R.java:
InputStream input = new URL("your_url_string").openStream();
Bitmap myBitmap = BitmapFactory.decodeStream(input);
我已经在 strings.xml 中查找了错误,但没有发现任何错误。