yaacov / tree-search-language

Tree Search Language (TSL) is a wonderful search langauge.
Apache License 2.0
60 stars 11 forks source link

Use the Gomega `MatchJSON` matcher to test parser #15

Closed jhernand closed 4 years ago

jhernand commented 4 years ago

This patch changes the tests that check the tres returned by the parser so that they use the MatchJSON matcher from the Gomega library. This makes the tests easier to read.

jhernand commented 4 years ago

@yaacov please review.

yaacov commented 4 years ago

Nice, I was going to ask you to convert the current tests go gomega ... :-)