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

View File

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

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