From d1727eb20fe1d595da2c6ac61a1cb6f49515da48 Mon Sep 17 00:00:00 2001 From: WindSoilder Date: Mon, 10 Jun 2024 10:10:11 +0800 Subject: [PATCH] fix test name --- crates/nu-command/tests/commands/str_/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-command/tests/commands/str_/mod.rs b/crates/nu-command/tests/commands/str_/mod.rs index 23c1358ea7..c608485e7f 100644 --- a/crates/nu-command/tests/commands/str_/mod.rs +++ b/crates/nu-command/tests/commands/str_/mod.rs @@ -255,7 +255,7 @@ fn substrings_the_input() { } #[test] -fn substring_errors_if_start_index_is_greater_than_end_index() { +fn substring_empty_if_start_index_is_greater_than_end_index() { Playground::setup("str_test_9", |dirs, sandbox| { sandbox.with_files(&[FileWithContent( "sample.toml",