Skip to content

Commit f950405

Browse files
authored
Fix issue with testing.nu in 0.101.1 (#1023)
nushell/nushell#14741 has surfaced an issue with an incorrect signature in `testing.nu` which caused it to fail completely. This fixes the signature and allows tests to run properly.
1 parent fff77c7 commit f950405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib-candidate/testing.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def valid-annotations [] {
2222
# Returns a table containing the list of function names together with their annotations (comments above the declaration)
2323
def get-annotated [
2424
file: path
25-
]: path -> table<function_name: string, annotation: string> {
25+
]: nothing -> table<function_name: string, annotation: string> {
2626
let raw_file = (
2727
open $file
2828
| lines

0 commit comments

Comments
 (0)