Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in tests for PPRINT barred input #1476

Merged
merged 1 commit into from
Jan 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading