Fix typos in tests for PPRINT barred input (#1476)

This commit is contained in:
John Kerl 2024-01-20 14:07:27 -05:00 committed by GitHub
parent bfc829a381
commit 36b4654445
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 153 additions and 6 deletions

View file

@ -1 +1 @@
mlr --hi --i pprint --barred-input -o json test/input/abixy.tbl
mlr --hi -i pprint --barred-input -o json cat test/input/abixy.tbl

View file

@ -1,2 +0,0 @@
mlr: option "--i" not recognized.
Please run "mlr --help" for usage information.

View file

@ -0,0 +1,79 @@
[
{
"1": "a",
"2": "b",
"3": "i",
"4": "x",
"5": "y"
},
{
"1": "pan",
"2": "pan",
"3": 1,
"4": 0.34679014,
"5": 0.72680286
},
{
"1": "eks",
"2": "pan",
"3": 2,
"4": 0.75867996,
"5": 0.52215111
},
{
"1": "wye",
"2": "wye",
"3": 3,
"4": 0.20460331,
"5": 0.33831853
},
{
"1": "eks",
"2": "wye",
"3": 4,
"4": 0.38139939,
"5": 0.13418874
},
{
"1": "wye",
"2": "pan",
"3": 5,
"4": 0.57328892,
"5": 0.86362447
},
{
"1": "zee",
"2": "pan",
"3": 6,
"4": 0.52712616,
"5": 0.49322129
},
{
"1": "eks",
"2": "zee",
"3": 7,
"4": 0.61178406,
"5": 0.18788492
},
{
"1": "zee",
"2": "wye",
"3": 8,
"4": 0.59855401,
"5": 0.97618139
},
{
"1": "hat",
"2": "wye",
"3": 9,
"4": 0.03144188,
"5": 0.74955076
},
{
"1": "pan",
"2": "wye",
"3": 10,
"4": 0.50262601,
"5": 0.95261836
}
]

View file

@ -1 +1 @@
mlr --i pprint --barred-input -o json test/input/abixy.tbl
mlr -i pprint --barred-input -o json cat test/input/abixy.tbl

View file

@ -1,2 +0,0 @@
mlr: option "--i" not recognized.
Please run "mlr --help" for usage information.

View file

@ -0,0 +1,72 @@
[
{
"a": "pan",
"b": "pan",
"i": 1,
"x": 0.34679014,
"y": 0.72680286
},
{
"a": "eks",
"b": "pan",
"i": 2,
"x": 0.75867996,
"y": 0.52215111
},
{
"a": "wye",
"b": "wye",
"i": 3,
"x": 0.20460331,
"y": 0.33831853
},
{
"a": "eks",
"b": "wye",
"i": 4,
"x": 0.38139939,
"y": 0.13418874
},
{
"a": "wye",
"b": "pan",
"i": 5,
"x": 0.57328892,
"y": 0.86362447
},
{
"a": "zee",
"b": "pan",
"i": 6,
"x": 0.52712616,
"y": 0.49322129
},
{
"a": "eks",
"b": "zee",
"i": 7,
"x": 0.61178406,
"y": 0.18788492
},
{
"a": "zee",
"b": "wye",
"i": 8,
"x": 0.59855401,
"y": 0.97618139
},
{
"a": "hat",
"b": "wye",
"i": 9,
"x": 0.03144188,
"y": 0.74955076
},
{
"a": "pan",
"b": "wye",
"i": 10,
"x": 0.50262601,
"y": 0.95261836
}
]