Skip to content

A list of Free Software network services and web applications which can be hosted on your own servers

Fix line numbers.

n82257dd218985094
diff --git a/tests/test.js b/tests/test.js
index 9c2fd0a1..1bb1a361 100644
--- a/tests/test.js
+++ b/tests/test.js
@@ -157,7 +157,7 @@ function entryErrorCheck() {
if (entryFilter(lines[i]) === true) { // filter out lines that don't start with * [)
e = {};
e.raw = lines[i];
- e.line = i
+ e.line = i + 1
entries.push(e);
} else if (licenseFilter(lines[i]) === true) {
licenses.add(parseLicense(lines[i]))