diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-10-11 02:28:20 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-10-11 02:28:20 +0000 |
commit | 39898e8858fcae828f2bda46376ca76f54f25f19 (patch) | |
tree | a85ad748ceb3953476c143b69fa8cbe71b2cc566 /test.lua | |
parent | wip, adding ollama as an alternative to detect-secrets (diff) | |
download | lclip-39898e8858fcae828f2bda46376ca76f54f25f19.tar.gz lclip-39898e8858fcae828f2bda46376ca76f54f25f19.zip |
Diffstat (limited to 'test.lua')
-rwxr-xr-x | test.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,8 +5,9 @@ local ollama = require("ollama") luaunit.assertEquals(ollama.ask_ollama( "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEs3GbmHMO0n1rL2vsn7+AH9xJwZ9BOUU6rR6x7hW8uX devi@terminaldweller.com", - 5), false) + 5), true) luaunit.assertEquals(ollama.ask_ollama('password="12345661234"', 5), true) luaunit.assertEquals(ollama.ask_ollama( "W65X2UljhbM0H9kTVogZ8TnCnIqPbCvvqVUsjZ9gWxjWgFiR1Uzolouc1ghKXUyqinhVcZ1lHnXWv2jHoVRU0dC0DZdyDgYfUiHdBwAeqryc0fT6d7nxgs0UErgwOkNt8S9tKUwadRscS8VV7q2j6F5FvSfyTGflluminatevrFOcGwD1RXkJP0J2aVQWxCCszvTSNhRPTM3TeUw8dXoapXTb2IcSUwKCvAdEhemFOsgU27wF7vHYDrm6GMVofZEwAitpVQxDDPvl7qefIuXdFuDJthnxH8uUJpEbSTWXyFLaE0n5QS063grrx0ar1TCxOpJiiGTSadDeTx8OQAyemqQYj7LoYCkdKCHX7G8VSEuJlFJ6R2CM", 5), true) +luaunit.assertEquals(ollama.ask_ollama('hello my name is', 5), false) |