Skip to content

Commit

Permalink
fix for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas von Dein committed Jan 14, 2025
1 parent ab21515 commit a282e34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func TestMain(m *testing.M) {
}))
}

func TestRpn(t *testing.T) {
func TestTablizer(t *testing.T) {
testscript.Run(t, testscript.Params{
Dir: "t",
})
Expand Down
8 changes: 4 additions & 4 deletions t/test-csv.txtar
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# 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

# 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

# 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

# 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


Expand Down

0 comments on commit a282e34

Please sign in to comment.