From: Aymeric Agon-Rambosson <aymeric.agon@yandex.com>
Subject: Repair tests for emacs 28+
Forwarded: https://github.com/Malabarba/elisp-bug-hunter/pull/37

The byte compiler is a little bit more specific since emacs 28. When it
encounters an error of the "invalid-read-syntax" kind, it provides not only the
offending character (this it did before), but also the line and column of this
character.

We modify the tests to reflect that.

--- a/bug-hunter-test.el
+++ b/bug-hunter-test.el
@@ -69,14 +69,14 @@
       (insert "(setq useless 1)\n#\n(setq useless 1)\n"))
     (should
      (equal (bug-hunter-file file nil)
-            [(invalid-read-syntax "#") 2 0]))
+            [(invalid-read-syntax "#" 2 1) 2 0]))
     (should
-     (equal '(bug-caught (invalid-read-syntax "#") 2 0)
+     (equal '(bug-caught (invalid-read-syntax "#" 2 1) 2 0)
             (bug-hunter--read-contents file)))
     (with-temp-file file
       (insert "(setq useless 1)\n)\n(setq useless 1)\n"))
     (should
-     (equal '(bug-caught (invalid-read-syntax ")") 2 0)
+     (equal '(bug-caught (invalid-read-syntax ")" 2 1) 2 0)
             (bug-hunter--read-contents file)))
     (with-temp-file file
       (insert "(setq useless 1)\n(\n(setq useless 1)\n"))
