Create a database that look like this:
"create": "CREATE DATABASE database_name;"
Make sure there's one empty line at the bottom of the file and no extra spaces after the value or any of the curly brackets.
when i run then error show :
your "sql reference.json " should have currect property and value
The spacing is quite picky - are you sure there’s no spaces after any of the curly brackets or the value? And you included the empty line at the bottom?
If you select everything using
ctrl/cmd + a, you can see if there’s any extra spaces:
They’re a little tough to see, but there’s 4 extra spaces after that last curly bracket, denoted by the four dots.
@moT01 I could be wrong, but even with the extra spaces, it is still valid JSON. Can the tests not be modified to allow the spaces as long as it is still valid JSON?
The JSON object contains methods
It can't be called or constructed, and aside from its two method properties,
it has no interesting functionality of its own.
It’s not the JSON that’s the issue - it’s git. I needed everything to be character exact so there (hopefully) wouldn’t be any unexpected merge conflicts when frequently switching between, and merging, branches.