Learn git by building an sql reference object i get stuck

Create a database that look like this:

  "database": {
    "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:
Screen Shot 2022-07-27 at 10.49.14 PM
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?

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.