mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
Fix warnings and split Scope (#1902)
This commit is contained in:
@ -24,6 +24,6 @@ fn to_row() {
|
||||
"#
|
||||
));
|
||||
|
||||
assert!(actual.out.contains("5"));
|
||||
assert!(actual.out.contains('5'));
|
||||
})
|
||||
}
|
||||
|
@ -63,6 +63,8 @@ fn outputs_zero_with_no_input() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::float_cmp)]
|
||||
fn compute_sum_of_individual_row() -> Result<(), String> {
|
||||
let answers_for_columns = [
|
||||
("cpu", 88.257434),
|
||||
@ -82,6 +84,8 @@ fn compute_sum_of_individual_row() -> Result<(), String> {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::float_cmp)]
|
||||
fn compute_sum_of_table() -> Result<(), String> {
|
||||
let answers_for_columns = [
|
||||
("cpu", 88.257434),
|
||||
|
Reference in New Issue
Block a user