aboutsummaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-01-27 15:35:09 +0000
committerOmar Polo <op@omarpolo.com>2021-01-27 15:35:09 +0000
commit44ee1bac8bc4ca2f216297d00ee6677f49fe3342 (patch)
treef5dd2f4d107eb8aade8d20f4e81c746f1b95064c /regress
parent22c6d6334deef920cd0212ca92f61d315860177a (diff)
use starts_with in puny.c
Diffstat (limited to 'regress')
-rw-r--r--regress/Makefile4
-rw-r--r--regress/puny-test.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/regress/Makefile b/regress/Makefile
index 5000165..b94e5c9 100644
--- a/regress/Makefile
+++ b/regress/Makefile
@@ -7,8 +7,8 @@ all: puny-test testdata iri_test cert.pem
./runtime
./iri_test
-puny-test: puny-test.o ../puny.o ../utf8.o
- ${CC} puny-test.o ../puny.o ../utf8.o -o puny-test
+puny-test: puny-test.o ../puny.o ../utf8.o ../utils.o
+ ${CC} puny-test.o ../puny.o ../utf8.o ../utils.o -o puny-test
iri_test: iri_test.o ../iri.o ../utf8.o
${CC} iri_test.o ../iri.o ../utf8.o -o iri_test
diff --git a/regress/puny-test.c b/regress/puny-test.c
index 26d6571..35cb572 100644
--- a/regress/puny-test.c
+++ b/regress/puny-test.c
@@ -24,6 +24,7 @@ struct suite {
const char *res;
} t[] = {
{"foo", "foo"},
+ {"h.n", "h.n"},
{"xn-invalid", "xn-invalid"},
{"naïve", "naïve"},
{"xn--8ca", "è"},