~sircmpwn/hare-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH hare] hare::lex+test: better error message

Details
Message ID
<20220514033448.22955-1-sebastian@sebsite.pw>
DKIM signature
pass
Download raw message
Patch: +4 -0
Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 hare/lex/+test.ha | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hare/lex/+test.ha b/hare/lex/+test.ha
index a7f6896a..4873024c 100644
--- a/hare/lex/+test.ha
+++ b/hare/lex/+test.ha
@@ -71,6 +71,10 @@ fn lextest(in: str, expected: []token) void = {
			fmt::errorfln("{}: {}", i, strerror(err))!;
			abort();
		};
		if (tl.0 != etok.0) {
			fmt::errorfln("Expected {}, got {}",
				tokstr(etok), tokstr(tl))!;
		};
		assert(tl.0 == etok.0);
		vassert(tl.1, etok.1);
		if (tl.2.line != etok.2.line || tl.2.col != etok.2.col
-- 
2.35.1

[hare/patches] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CJZ6477E4NLU.4DPTY5NQ20YD@cirno2>
In-Reply-To
<20220514033448.22955-1-sebastian@sebsite.pw> (view parent)
DKIM signature
missing
Download raw message
hare/patches: SUCCESS in 1m27s

[hare::lex+test: better error message][0] from [Sebastian][1]

[0]: https://lists.sr.ht/~sircmpwn/hare-dev/patches/32268
[1]: sebastian@sebsite.pw

✓ #757829 SUCCESS hare/patches/freebsd.yml https://builds.sr.ht/~sircmpwn/job/757829
✓ #757828 SUCCESS hare/patches/alpine.yml  https://builds.sr.ht/~sircmpwn/job/757828
Details
Message ID
<CK15JZY96OF7.2Y81BBX32WXSP@taiga>
In-Reply-To
<20220514033448.22955-1-sebastian@sebsite.pw> (view parent)
DKIM signature
fail
Download raw message
DKIM signature: fail
Thanks!

To git@git.sr.ht:~sircmpwn/hare
   1ecd1920..70a2d3ad  master -> master
Reply to thread Export thread (mbox)