diff --git a/docker/test_docker.nu b/docker/test_docker.nu
index c606f9563b3d8..64adbba0c9753 100755
--- a/docker/test_docker.nu
+++ b/docker/test_docker.nu
@@ -17,7 +17,7 @@ def main [] {
^$nu.current-exe --commands $"source ($env.CURRENT_FILE); ($plan)"
}
-def create_execution_plan [test: string] -> string {
+def create_execution_plan [test: string]: nothing -> string {
$"{ name: \"($test)\", execute: { ($test) } }"
}
@@ -45,7 +45,7 @@ def print_results [results: list>] {
}
}
-def print_summary [results: list>] -> bool {
+def print_summary [results: list>]: nothing -> bool {
let success = $results | where ($it.result == "PASS") | length
let failure = $results | where ($it.result == "FAIL") | length
let count = $results | length
@@ -57,7 +57,7 @@ def print_summary [results: list>] -> bool
}
}
-def run_test [test: record] -> record {
+def run_test [test: record]: nothing -> record {
try {
do ($test.execute)
{ result: $"PASS",name: $test.name, error: "" }
@@ -149,5 +149,5 @@ def "test config initialised" [] {
let config_size = $files | where file == "config.nu" | get size | first
assert greater $env_size 1KiB
- assert greater $config_size 10KiB
+ assert greater $config_size 1KiB
}