Skip to content

Commit 262a19d

Browse files
committed
Remove optional chomp argument method
1 parent a494e11 commit 262a19d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/BlockScalars.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function block(str::AbstractString, indicators::AbstractString)
6161
return block(str, style, chomp)
6262
end
6363

64-
function block(str::AbstractString, style::Symbol, chomp::Symbol=DEFAULT_CHOMP)
64+
function block(str::AbstractString, style::Symbol, chomp::Symbol)
6565
# Append an additional, non-space, character to force one more iteration of the style
6666
# loop
6767
str *= ETX

test/runtests.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ end
7575
end
7676

7777
@testset "default chomp" begin
78-
@test block(str, :literal) == expected_ls
79-
@test block(str, :folded) == expected_fs
80-
8178
@test block(str, style=:literal) == expected_ls
8279
@test block(str, style=:folded) == expected_fs
8380

0 commit comments

Comments
 (0)