This commit is contained in:
Yves
2025-02-17 11:10:17 +01:00
parent 79a83b65a7
commit 944a173745
14 changed files with 136 additions and 644 deletions

23
test/sql/ui.test Normal file
View File

@@ -0,0 +1,23 @@
# name: test/sql/ui.test
# description: test ui extension
# group: [ui]
# Before we load the extension, this will fail
statement error
SELECT ui('Sam');
----
Catalog Error: Scalar Function with name ui does not exist!
# Require statement will ensure this test is run with this extension loaded
require ui
# Confirm the extension works
query I
SELECT ui('Sam');
----
Ui Sam 🐥
query I
SELECT ui_openssl_version('Michael') ILIKE 'Ui Michael, my linked OpenSSL version is OpenSSL%';
----
true