Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger-luo committed Aug 6, 2020
1 parent a5e69ef commit 8277ad7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Project.toml
Expand Up @@ -4,17 +4,17 @@ authors = ["Roger-luo and contributors"]
version = "0.6.0"

[deps]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
PackageCompiler = "9b87118b-4619-50d2-8e1e-99f35a4d4d9d"
MatchCore = "5dd3f0b1-72a9-48ad-ae6e-79f673da005f"
CRC32c = "8bf52ea8-c179-5cab-976a-9e18b702a9bc"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
ExprTools = "e2ba6199-217a-4e67-a87a-7c52f15ade04"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
MatchCore = "5dd3f0b1-72a9-48ad-ae6e-79f673da005f"
PackageCompiler = "9b87118b-4619-50d2-8e1e-99f35a4d4d9d"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"

[compat]
julia = "1"
PackageCompiler = "1.2"
MatchCore = "0.1"
ExprTools = "0.1"
MatchCore = "0.1"
PackageCompiler = "1.2"
julia = "1"
3 changes: 2 additions & 1 deletion test/parse.jl
Expand Up @@ -131,8 +131,9 @@ Comonicon.install(
@test Comonicon.Parse.default_name(sin) == "sin"
end

cmd = @cast(f_issue_47(xs::Int...) = xs)

@testset "issue/#47" begin
cmd = @cast f_issue_47(xs::Int...) = xs
@test cmd.args[1].type == Int
@test cmd.args[1].vararg == true
end

0 comments on commit 8277ad7

Please sign in to comment.