We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32fae6d commit bb3d1f3Copy full SHA for bb3d1f3
spec/lib/content_splitter_spec.rb
@@ -15,6 +15,11 @@ def set_limit(value)
15
expect(described_class.split("")).to eq([""])
16
end
17
18
+ it "handles content with only spaces" do
19
+ expect(described_class.split(" ")).to eq([" "])
20
21
+ end
22
+
23
it "handles nil input" do
24
expect(described_class.split(nil)).to eq([])
25
0 commit comments