mirror of
https://codeberg.org/scip/tablizer.git
synced 2025-12-17 04:30:56 +01:00
fix for windows
This commit is contained in:
@@ -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",
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user