Open zimmski opened 9 years ago
Remove all testing code of type
Implements(t, tok, &ConstantInt{})
With
... // Token interface methods var _ Token = (*ConstantInt)(nil) ...
Do this in _test.go not in .go.
Do this every time a type must implement a specific token.
Remove all testing code of type
With
Do this in _test.go not in .go.
Do this every time a type must implement a specific token.