(t *testing.T)
| 63 | } |
| 64 | |
| 65 | func TestInvalidMissingColon(t *testing.T) { |
| 66 | testExpectedError(t, |
| 67 | &fflib.LexerError{}, |
| 68 | `{"X""foo"}`, |
| 69 | &Xobj{}) |
| 70 | testExpectedError(t, |
| 71 | &fflib.LexerError{}, |
| 72 | `{"X" "foo"}`, |
| 73 | &Xobj{}) |
| 74 | testExpectedError(t, |
| 75 | &fflib.LexerError{}, |
| 76 | `{"X","foo"}`, |
| 77 | &Xobj{}) |
| 78 | } |
| 79 | |
| 80 | func TestInvalidUnmatchedBrace(t *testing.T) { |
| 81 | testExpectedError(t, |
nothing calls this directly
no test coverage detected
searching dependent graphs…