diff options
author | Omar Polo <op@omarpolo.com> | 2024-06-10 08:20:35 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-06-10 08:20:35 +0000 |
commit | 9325f61db06f4743f6081a7f899e0eb7ba5c1998 (patch) | |
tree | 32ca386ca7981bbd7c82cc51760b1a766408a229 /regress | |
parent | cf6269349513c87a6660d9e5bb8c2d20e628d195 (diff) |
add regress for gg -n
Diffstat (limited to 'regress')
-rwxr-xr-x | regress/regress | 1 | ||||
-rw-r--r-- | regress/tests.sh | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/regress/regress b/regress/regress index 47ef460..0ace045 100755 --- a/regress/regress +++ b/regress/regress @@ -19,6 +19,7 @@ fi # Run standalone unit tests. run_test test_punycode run_test test_iri +run_test test_gg_n_flag # Run configuration parsing tests. run_test test_parse_comments_at_start diff --git a/regress/tests.sh b/regress/tests.sh index b9f934b..7443670 100644 --- a/regress/tests.sh +++ b/regress/tests.sh @@ -8,6 +8,12 @@ test_iri() { ./iri_test } +test_gg_n_flag() { + dont_check_server_alive=yes + gg -n gemini://omarpolo.com/ || return 1 + gg -n "foo://bar.com/cafè.gmi" || return 1 +} + test_parse_comments_at_start() { dont_check_server_alive=yes |