diff options
Diffstat (limited to 'tests/location')
-rw-r--r-- | tests/location/README.md | 8 | ||||
-rw-r--r-- | tests/location/basic.locations.pom | 3 | ||||
-rw-r--r-- | tests/location/basic.pom | 6 |
3 files changed, 17 insertions, 0 deletions
diff --git a/tests/location/README.md b/tests/location/README.md new file mode 100644 index 0000000..caa8b6a --- /dev/null +++ b/tests/location/README.md @@ -0,0 +1,8 @@ +# Location tests + +These tests are for checking that definition location information +is correctly recorded. + +Each test consists of a file `x.pom` and a file `x.locations.pom`. +For every key in `x.pom`, there’s a corresponding key in `x.locations.pom` +which is set to the line number where the key was defined in `x.pom`. diff --git a/tests/location/basic.locations.pom b/tests/location/basic.locations.pom new file mode 100644 index 0000000..fc163cc --- /dev/null +++ b/tests/location/basic.locations.pom @@ -0,0 +1,3 @@ +x = 6 +y = 4 +z = 1 diff --git a/tests/location/basic.pom b/tests/location/basic.pom new file mode 100644 index 0000000..7a9cbe2 --- /dev/null +++ b/tests/location/basic.pom @@ -0,0 +1,6 @@ +z = 3 + + +y = "100\r\n +" +x = `22.2` |