From 38417511a5103c3ddd0a8bfb53f060868c9f6cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Wa=C5=9Bko?= Date: Tue, 1 Oct 2024 12:01:04 +0200 Subject: [PATCH] Reapply "break some tests to test it" This reverts commit 82a1985fbffe49f70bef8104e3b1b74dd5757c41. --- test/Base_Tests/src/Data/Text_Spec.enso | 2 +- test/Base_Tests/src/Data/Vector_Spec.enso | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Base_Tests/src/Data/Text_Spec.enso b/test/Base_Tests/src/Data/Text_Spec.enso index 1728896293ef0..b02afd343683d 100644 --- a/test/Base_Tests/src/Data/Text_Spec.enso +++ b/test/Base_Tests/src/Data/Text_Spec.enso @@ -71,7 +71,7 @@ add_specs suite_builder = sentence_words = ['I', 'have', 'a', 'very', 'long', 'block', 'of', 'text', ',', 'here', '.', 'It', 'goes', 'on', 'and', 'on', ',', 'containing', 'things', 'like', 'decimal', 'points', '(', '1.0314e3', ')', 'and', 'other', 'language', 'scripts', 'as', 'well', '건반', '(', 'Korean', ')', '.'] group_builder.specify "should allow naive length computation over grapheme clusters" <| - kshi.length . should_equal 1 + kshi.length . should_equal 10015500005345 facepalm.length . should_equal 1 group_builder.specify "should be able to tell if Text is normalized" <| diff --git a/test/Base_Tests/src/Data/Vector_Spec.enso b/test/Base_Tests/src/Data/Vector_Spec.enso index 04d619a470a57..54b2105d71983 100644 --- a/test/Base_Tests/src/Data/Vector_Spec.enso +++ b/test/Base_Tests/src/Data/Vector_Spec.enso @@ -85,7 +85,7 @@ type_spec suite_builder name alter = suite_builder.group name group_builder-> "Can't run Python tests, Python is not installed." group_builder.specify "text bytes" <| - "Lore".utf_8 . should_equal [76, 111, 114, 101] + "Lore".utf_8 . should_equal [] group_builder.specify "should allow vector creation with a programmatic constructor" <| Vector.new 100 (ix -> ix + 1) . fold 0 (+) . should_equal 5050