Simple strings where possible (#27)

This commit is contained in:
Patrick Stevens
2025-07-30 09:06:15 +01:00
committed by GitHub
parent d21786ecd4
commit faacb4770c
6 changed files with 32 additions and 21 deletions

View File

@@ -31,7 +31,7 @@ open WoofWare.Expect
module MyModule =
let emoji () =
expect {
snapshot @""Updated with 🚀🌟✨ more emoji!""
snapshot ""Updated with 🚀🌟✨ more emoji!""
return 123
}
@@ -172,7 +172,7 @@ module MyModule =
let arabicRTL () =
expect {
snapshot @""Updated Arabic: مرحبا بالعالم""
snapshot ""Updated Arabic: مرحبا بالعالم""
return ""rtl test""
}
@@ -241,7 +241,7 @@ module MyModule =
let combiningCharacters () =
expect {
// Combining diacritics: e + ́ = é
snapshot @""updated test with combining: and ä!""
snapshot ""updated test with combining: and ä!""
return ""combining""
}
@@ -309,7 +309,7 @@ module MyModule =
let mixedScripts () =
expect {
snapshotJson @""Updated mixed: English, русский, 日本語, العربية, emoji 🚀""
snapshotJson ""Updated mixed: English, русский, 日本語, العربية, emoji 🚀""
return [ ""multilingual"" ]
}
@@ -377,7 +377,7 @@ module MyModule =
let zeroWidthChars () =
expect {
snapshot @""Updated: Zerowidthspacetest"" // Contains U+200B
snapshot ""Updated: Zerowidthspacetest"" // Contains U+200B
return ""zwsp""
}
@@ -445,7 +445,7 @@ module MyModule =
let mathSymbols () =
expect {
snapshot @""Pretty vacuous, huh: ∀x∈, ∃y: + = 1 |x| 1""
snapshot ""Pretty vacuous, huh: ∀x∈, ∃y: + = 1 |x| 1""
return ""math""
}
"