W3C Can't write english it is really called: double quote
This commit is contained in:
parent
06270b2326
commit
0397308c9d
|
@ -77,7 +77,7 @@ public class ContentWriterXmlAttributeTest {
|
||||||
String output = outputWriter.toString();
|
String output = outputWriter.toString();
|
||||||
Assertions.assertNotNull(output);
|
Assertions.assertNotNull(output);
|
||||||
Assertions.assertTrue(output.length()>0);
|
Assertions.assertTrue(output.length()>0);
|
||||||
Assertions.assertTrue(output.equals("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<test attr=\"<test/> & 'foobar' is "e;quoted"e;!\"/>"), output);
|
Assertions.assertTrue(output.equals("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<test attr=\"<test/> & 'foobar' is "quoted"!\"/>"), output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
@ -64,7 +64,7 @@ public class ContentWriterXmlTest {
|
||||||
String output = outputWriter.toString();
|
String output = outputWriter.toString();
|
||||||
Assertions.assertNotNull(output);
|
Assertions.assertNotNull(output);
|
||||||
Assertions.assertTrue(output.length()>0);
|
Assertions.assertTrue(output.length()>0);
|
||||||
Assertions.assertTrue(output.equals("<?xml version=\"1.0\" encoding=\"UTF-8\"?><test/> & 'foobar' is "e;quoted"e;!"), output);
|
Assertions.assertTrue(output.equals("<?xml version=\"1.0\" encoding=\"UTF-8\"?><test/> & 'foobar' is "quoted"!"), output);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in a new issue