We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a735e6 commit ddec449Copy full SHA for ddec449
lib/aiken/primitive/bytearray.ak
@@ -638,28 +638,13 @@ pub fn starts_with(self: ByteArray, prefix: ByteArray) -> Bool {
638
}
639
640
test starts_with_1() {
641
- let x = "Hello, World!"
642
- starts_with(x, "Hello")
643
-}
644
-
645
-test starts_with_2() {
646
647
- starts_with(x, "World") == False
648
649
650
-test starts_with_3() {
651
- let x = ""
652
653
654
655
-test starts_with_4() {
656
starts_with("", "")
657
658
659
-test starts_with_5() {
+test starts_with_2() {
660
starts_with("Hello, World!", "Hello, World!")
661
662
663
-test starts_with_6() {
664
- !starts_with("Hello, World!", "Hello")
+test starts_with_3() {
+ !starts_with("Hello, World!", "hello")
665
0 commit comments