File tree 1 file changed +13
-14
lines changed
TestVectors/dafny/DDBEncryption/src
1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -218,21 +218,20 @@ module {:options "-functionSyntax:4"} WriteManifest {
218
218
const DoNothing : CryptoAction := 3
219
219
220
220
const A : string := "A"
221
- const B : string := "\ud000 " // Ud000"
222
- const C : string := "\ufe4c " // Ufe4c"
223
- const D : string := "\u100001 " // U10001
224
- const E : string := "\u100002 " // U10002 - same high surrogate as D
225
- const F : string := "\u200002 " // U20002 - different high surrogate as D
221
+ const B : string := "퀀 " // Ud000"
222
+ const C : string := "﹌ " // Ufe4c"
223
+ const D : string := "𐀁 " // U10001
224
+ const E : string := "𐀂 " // U10002 - same high surrogate as D
225
+ const F : string := "𠀂 " // U20002 - different high surrogate as D
226
226
227
- // Dafny doesn't handle unicode surrogates correctly.
228
- // lemma CheckLengths()
229
- // ensures |A| == 1
230
- // ensures |B| == 1
231
- // ensures |C| == 1
232
- // ensures |D| == 2
233
- // ensures |E| == 2
234
- // ensures |F| == 2
235
- // {}
227
+ lemma CheckLengths ()
228
+ ensures |A| == 1
229
+ ensures |B| == 1
230
+ ensures |C| == 1
231
+ ensures |D| == 2
232
+ ensures |E| == 2
233
+ ensures |F| == 2
234
+ {}
236
235
237
236
// Let's make attribute names with complex characters.
238
237
// It shouldn't matter, but let's make sure
You can’t perform that action at this time.
0 commit comments