fix for windows

This commit is contained in:
2025-01-14 12:51:51 +01:00
committed by T.v.Dein
parent 16c5053752
commit 53cf1e2ebe
2 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ func TestMain(m *testing.M) {
})) }))
} }
func TestRpn(t *testing.T) { func TestTablizer(t *testing.T) {
testscript.Run(t, testscript.Params{ testscript.Run(t, testscript.Params{
Dir: "t", Dir: "t",
}) })

View File

@@ -1,17 +1,17 @@
# reading from file and matching with lowercase words # reading from file and matching with lowercase words
exec tablizer -c name,status -r testtable.csv -s, exec tablizer$exe -c name,status -r testtable.csv -s,
stdout grafana.*Runn stdout grafana.*Runn
# matching mixed case # matching mixed case
exec tablizer -c NAME,staTUS -r testtable.csv -s, exec tablizer$exe -c NAME,staTUS -r testtable.csv -s,
stdout grafana.*Runn stdout grafana.*Runn
# matching using numbers # matching using numbers
exec tablizer -c 1,3 -r testtable.csv -s, exec tablizer$exe -c 1,3 -r testtable.csv -s,
stdout grafana.*Runn stdout grafana.*Runn
# matching using regex # matching using regex
exec tablizer -c 'na.*,stat.' -r testtable.csv -s, exec tablizer$exe -c 'na.*,stat.' -r testtable.csv -s,
stdout grafana.*Runn stdout grafana.*Runn