From 760b9742ad26cd17c74e8ae0bd633df8098fc538 Mon Sep 17 00:00:00 2001 From: Melvin Wang Date: Fri, 13 Sep 2024 12:31:31 -0700 Subject: [PATCH] fix error normalization --- crates/wdk-build/src/utils.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/wdk-build/src/utils.rs b/crates/wdk-build/src/utils.rs index c75cd7a0..44ad4c1f 100644 --- a/crates/wdk-build/src/utils.rs +++ b/crates/wdk-build/src/utils.rs @@ -464,7 +464,7 @@ mod tests { assert_eq!( format!("{}", get_wdk_version_number(test_string).err().unwrap()), format!( - "The WDK version string provided ({}) was not in a valid format.", + "the WDK version string provided ({}) was not in a valid format.", test_string ) ); @@ -472,7 +472,7 @@ mod tests { assert_eq!( format!("{}", get_wdk_version_number(test_string).err().unwrap()), format!( - "The WDK version string provided ({}) was not in a valid format.", + "the WDK version string provided ({}) was not in a valid format.", test_string ) ); @@ -480,7 +480,7 @@ mod tests { assert_eq!( format!("{}", get_wdk_version_number(test_string).err().unwrap()), format!( - "The WDK version string provided ({}) was not in a valid format.", + "the WDK version string provided ({}) was not in a valid format.", test_string ) ); @@ -488,7 +488,7 @@ mod tests { assert_eq!( format!("{}", get_wdk_version_number(test_string).err().unwrap()), format!( - "The WDK version string provided ({}) was not in a valid format.", + "the WDK version string provided ({}) was not in a valid format.", test_string ) ); @@ -496,7 +496,7 @@ mod tests { assert_eq!( format!("{}", get_wdk_version_number(test_string).err().unwrap()), format!( - "The WDK version string provided ({}) was not in a valid format.", + "the WDK version string provided ({}) was not in a valid format.", test_string ) ); @@ -504,7 +504,7 @@ mod tests { assert_eq!( format!("{}", get_wdk_version_number(test_string).err().unwrap()), format!( - "The WDK version string provided ({}) was not in a valid format.", + "the WDK version string provided ({}) was not in a valid format.", test_string ) ); @@ -512,7 +512,7 @@ mod tests { assert_eq!( format!("{}", get_wdk_version_number(test_string).err().unwrap()), format!( - "The WDK version string provided ({}) was not in a valid format.", + "the WDK version string provided ({}) was not in a valid format.", test_string ) );