Skip to content

Commit

Permalink
Fix typos in tests for PPRINT barred input (#1476)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl authored Jan 20, 2024
1 parent bfc829a commit 36b4654
Show file tree
Hide file tree
Showing 8 changed files with 153 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/cases/io-barred-pprint/barred-input-headerless/cmd
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions test/cases/io-barred-pprint/barred-input-headerless/experr
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
mlr: option "--i" not recognized.
Please run "mlr --help" for usage information.
79 changes: 79 additions & 0 deletions test/cases/io-barred-pprint/barred-input-headerless/expout
Original file line number Diff line number Diff line change
@@ -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
}
]
Empty file.
2 changes: 1 addition & 1 deletion test/cases/io-barred-pprint/barred-input/cmd
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions test/cases/io-barred-pprint/barred-input/experr
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
mlr: option "--i" not recognized.
Please run "mlr --help" for usage information.
72 changes: 72 additions & 0 deletions test/cases/io-barred-pprint/barred-input/expout
Original file line number Diff line number Diff line change
@@ -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
}
]
Empty file.

0 comments on commit 36b4654

Please sign in to comment.