Skip to content

Commit 0e43e01

Browse files
author
Nitish [C] Dhok
committed
kiro-cli e2e tests: fiexed failing test case on linux.
1 parent ab6e8ea commit 0e43e01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

e2etests/tests/theme_subcommand/test_kiro_cli_theme_subcommand.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ fn test_kiro_cli_theme_folder_subcommand() -> Result<(), Box<dyn std::error::Err
9696
println!("📝 END OUTPUT");
9797

9898
assert!(!response.is_empty(), "Expected non-empty output");
99-
assert!(response.contains("Kiro CLI"), "Expected 'Kiro CLI' in response.");
99+
assert!(response.contains("kiro"), "Expected 'kiro' in response.");
100100
assert!(response.contains("themes"), "Expected 'themes' in response.");
101101

102102
println!("✅ Kiro Cli theme --folder subcommand executed successfully!");
@@ -109,7 +109,7 @@ fn test_kiro_cli_theme_folder_subcommand() -> Result<(), Box<dyn std::error::Err
109109
fn test_kiro_cli_theme_verbose_subcommand() -> Result<(), Box<dyn std::error::Error>> {
110110
println!("\n🔍 Testing kiro-cli theme --verbose... | Description: Tests the <code> kiro-cli theme --verbose</code> subcommand to verify kiro cli verbose response.");
111111

112-
println!("\n🔍 Executing 'kiro-cli theme --folder' subcommand...");
112+
println!("\n🔍 Executing 'kiro-cli theme --verbose' subcommand...");
113113
let response = q_chat_helper::execute_q_subcommand("kiro-cli", &["theme","--verbose"])?;
114114

115115
println!("📝 FULL OUTPUT:");
@@ -129,7 +129,7 @@ fn test_kiro_cli_theme_verbose_subcommand() -> Result<(), Box<dyn std::error::Er
129129
fn test_kiro_cli_theme_v_subcommand() -> Result<(), Box<dyn std::error::Error>> {
130130
println!("\n🔍 Testing kiro-cli theme -v... | Description: Tests the <code> kiro-cli theme -v</code> subcommand to verify kiro cli -v response.");
131131

132-
println!("\n🔍 Executing 'kiro-cli theme --folder' subcommand...");
132+
println!("\n🔍 Executing 'kiro-cli theme -v' subcommand...");
133133
let response = q_chat_helper::execute_q_subcommand("kiro-cli", &["theme","-v"])?;
134134

135135
println!("📝 FULL OUTPUT:");

0 commit comments

Comments
 (0)