(t *testing.T)
| 78 | } |
| 79 | |
| 80 | func TestBasicLexing(t *testing.T) { |
| 81 | ffl := NewFFLexer([]byte(`{}`)) |
| 82 | toks := scanAll(ffl) |
| 83 | assertTokensEqual(t, []FFTok{ |
| 84 | FFTok_left_bracket, |
| 85 | FFTok_right_bracket, |
| 86 | FFTok_eof, |
| 87 | }, toks) |
| 88 | } |
| 89 | |
| 90 | func TestHelloWorld(t *testing.T) { |
| 91 | ffl := NewFFLexer([]byte(`{"hello":"world"}`)) |
nothing calls this directly
no test coverage detected
searching dependent graphs…