about summary refs log tree commit diff
path: root/src/libsemver/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsemver/lib.rs')
-rw-r--r--src/libsemver/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsemver/lib.rs b/src/libsemver/lib.rs
index a119d4832db..51dcc6d3faf 100644
--- a/src/libsemver/lib.rs
+++ b/src/libsemver/lib.rs
@@ -377,13 +377,13 @@ fn test_ne() {
 
 #[test]
 fn test_show() {
-    assert_eq!(format_strbuf!("{}", parse("1.2.3").unwrap()),
+    assert_eq!(format!("{}", parse("1.2.3").unwrap()),
                "1.2.3".to_string());
-    assert_eq!(format_strbuf!("{}", parse("1.2.3-alpha1").unwrap()),
+    assert_eq!(format!("{}", parse("1.2.3-alpha1").unwrap()),
                "1.2.3-alpha1".to_string());
-    assert_eq!(format_strbuf!("{}", parse("1.2.3+build.42").unwrap()),
+    assert_eq!(format!("{}", parse("1.2.3+build.42").unwrap()),
                "1.2.3+build.42".to_string());
-    assert_eq!(format_strbuf!("{}", parse("1.2.3-alpha1+42").unwrap()),
+    assert_eq!(format!("{}", parse("1.2.3-alpha1+42").unwrap()),
                "1.2.3-alpha1+42".to_string());
 }