getgrit / gritql

GritQL is a query language for searching, linting, and modifying code.

Home Page:https://docs.grit.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test fail due to different spacing (ignore whitespace)

fabian-hiller opened this issue · comments

Some of my tests failed because of different whitespace between the GritQL output and the expected result in the MD file. Optimal would be a config to ignore whitespace.

  ✗ Nested pipe
    -const Schema = v.pipe(
    -  v.map(v.number(), v.pipe(v.string(), v.url(), v.endsWith('@example.com'))),
    -  v.maxSize(10)
    -);
    +const Schema = v.pipe(v.map(v.number(),v.pipe(v.string(), v.url(), v.endsWith('@example.com'))), v.maxSize(10));