We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f571648 commit bda0362Copy full SHA for bda0362
2 files changed
tests/lean/Uri.lean
@@ -27,7 +27,7 @@ def testShouldEscape :=
27
(Char.ofNat 127).toString] -- for 0x7F
28
assert! should_quote.data.all (λ c =>
29
let x := (escapeUri c.toString)
30
- x.length == 3 && x.take 1 == "%")
+ x.length == 3 && x.take 1 == "%".toSlice)
31
true
32
33
def testPartialEscape :=
tests/lean/string_imp2.lean
@@ -46,7 +46,7 @@ it₁.remainingToString ++ "-" ++ it₂.remainingToString
46
#eval "αβ".mkIterator.next.prev.hasPrev
47
#eval "abc" == "abc"
48
#eval "abc" == "abd"
49
-#eval "αβγ".drop 1
+#eval "αβγ".drop 1 |>.copy
50
#eval "αβγ".takeRight 1
51
52
def ss : Substring.Raw := "0123abcdαβγδ".toRawSubstring
0 commit comments