From e0ac1a53064e463bde9f40d05336fcc799eb9906 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Fri, 11 Oct 2024 17:08:32 +0200 Subject: [PATCH] fail on fail --- example/test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/example/test.go b/example/test.go index d66232a..2e828ac 100644 --- a/example/test.go +++ b/example/test.go @@ -48,6 +48,10 @@ func main() { res.DictionaryMatch, res.Ok, ) + + if !res.Ok { + os.Exit(1) + } } func ReadDict(path string) []string {