hooks + devenv

This commit is contained in:
ari committed 2026-09-17 14:14:14 -04:00
1 parent e07ae98c0b
commit d47c401013
19 files changed
+956 -280

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
use std/assert
use std/testing *
source ../lib/common.nu
source ../host/setup.nu
@test
def "normalize-size adds G to a bare number" [] {
assert equal (normalize-size "80") "80G"
}
@test
def "normalize-size leaves an existing suffix alone" [] {
assert equal (normalize-size "80G") "80G"
}
@test
def "normalize-size passes non-numeric input through unchanged" [] {
assert equal (normalize-size "lots") "lots"
}
@test
def "normalize-size passes an empty string through unchanged" [] {
assert equal (normalize-size "") ""
}