mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-19 09:54:49 -04:00
fixes a overseen test case
This commit is contained in:
parent
2e74b0101e
commit
98d1d7ff31
@ -20,9 +20,8 @@ public class ParserTest extends TestCase {
|
||||
assertTrue(t instanceof Simple);
|
||||
assertEquals("In", ((Simple) t).getText());
|
||||
|
||||
t = new Parser("\\I^n_0").parse();
|
||||
assertTrue(t instanceof Simple);
|
||||
assertEquals("I^n_0", ((Simple) t).getText());
|
||||
t = new Parser("I\\^n\\_0").parse();
|
||||
assertEquals("I^n_0", t.toString());
|
||||
|
||||
t = new Parser("A\\_B").parse();
|
||||
assertEquals("A_B", t.toString());
|
||||
|
Loading…
x
Reference in New Issue
Block a user