fixed a couple more tests (#4870)

This commit is contained in:
Darren Schroeder 2022-03-18 12:35:28 -05:00 committed by GitHub
parent 4f05e9f4a6
commit 5a1af4d661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View File

@ -16,8 +16,6 @@ fn columns() {
assert_eq!(actual.out, "1"); assert_eq!(actual.out, "1");
} }
// FIXME: jt: needs more work
#[ignore]
#[test] #[test]
fn more_columns_than_table_has() { fn more_columns_than_table_has() {
let actual = nu!( let actual = nu!(

View File

@ -43,8 +43,6 @@ fn by_invalid_column() {
assert!(actual.err.contains("value originates here")); assert!(actual.err.contains("value originates here"));
} }
// FIXME: jt: needs more work
#[ignore]
#[test] #[test]
fn by_invalid_types() { fn by_invalid_types() {
let actual = nu!( let actual = nu!(
@ -53,7 +51,7 @@ fn by_invalid_types() {
open cargo_sample.toml --raw open cargo_sample.toml --raw
| echo ["foo" 1] | echo ["foo" 1]
| sort-by | sort-by
| json -r | to json -r
"# "#
)); ));

View File

@ -127,7 +127,9 @@ fn sources_unicode_file_in_unicode_dir_without_spaces_2() {
#[ignore] #[ignore]
#[test] #[test]
fn sources_unicode_file_in_unicode_dir_with_spaces_1() { fn sources_unicode_file_in_unicode_dir_with_spaces_1() {
// this one fails
try_source_foo_with_single_quotes_in("e-$ èрт🚒♞中片-j", "source_test_8"); try_source_foo_with_single_quotes_in("e-$ èрт🚒♞中片-j", "source_test_8");
// this one passes
try_source_foo_with_double_quotes_in("e-$ èрт🚒♞中片-j", "source_test_9"); try_source_foo_with_double_quotes_in("e-$ èрт🚒♞中片-j", "source_test_9");
} }