Skip to content

Commit bbb9dec

Browse files
committed
Cleanup
1 parent e438608 commit bbb9dec

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

src/StrFormat.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module StrFormat
99

1010
using APITools, Format
1111

12-
@api extend StrAPI, CharSetEncodings, Chars, StrBase, StrLiterals
12+
@api use StrAPI, StrLiterals
1313

1414
function _parse_format(str, pos, fun)
1515
ex, j = parse(Expr, str, pos; greedy=false)
@@ -74,6 +74,4 @@ function __init__()
7474
interpolate['{'] = _parse_pyfmt
7575
end
7676

77-
@api freeze
78-
7977
end # module StrFormat

test/runtests.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
# License is MIT: LICENSE.md
22

33
using APITools, Format
4-
@api init
54

6-
@api test StrAPI, CharSetEncodings, Chars, StrBase
7-
@api test StrLiterals, StrFormat
5+
@api init
86

9-
@static V6_COMPAT ? (using Base.Test) : (using Test)
7+
@api test StrAPI, CharSetEncodings, Chars, StrBase, StrLiterals, StrFormat
108

119
@testset "C Formatting" begin
1210
@testset "int" begin

0 commit comments

Comments
 (0)