From b1e2d7147ebfa1cdc4fbf021cb7f72334383b419 Mon Sep 17 00:00:00 2001
From: Aadhavan Srinivasan <aadhavan@twomorecents.org>
Date: Sun, 27 Oct 2024 12:52:16 -0400
Subject: [PATCH] Added tests

---
 re_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/re_test.go b/re_test.go
index 6340d4f..7419bd9 100644
--- a/re_test.go
+++ b/re_test.go
@@ -23,7 +23,7 @@ var reTests = []struct {
 	{"((abc)|(def))*", "abcdef", []matchIndex{{0, 6}}},
 	{"(abc)*|(def)*", "abcdef", []matchIndex{{0, 3}, {3, 3}, {3, 6}, {6, 6}}},
 	{"b*a*a", "bba", []matchIndex{{0, 3}}},
-	{"(ab)+", "ababddd", []matchIndex{{0, 2}, {2, 4}}},
+	{"(ab)+", "abcabddd", []matchIndex{{0, 2}, {3, 5}}},
 }
 
 func TestFindAllMatches(t *testing.T) {