Skip to content

Commit 2a26809

Browse files
committed
Fixed test
1 parent 7182879 commit 2a26809

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Tests/SimpleAppTest.fs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ let ``06 - rootCommand should use configuration`` () =
100100
configure (fun cfg ->
101101
// Skip @ processing
102102
cfg.ResponseFileTokenReplacer <- null
103-
//cfg.ResponseFileTokenReplacer <- new TryReplaceToken(fun _ _ _ -> false)
104103
)
105104
//inputs (Input.Option<string>("package", [ "--package"; "-p" ], "A package with a leading @ name"))
106105
inputs (option "--package" |> aliases ["-p"] |> desc "A package with a leading @ name")
@@ -139,10 +138,7 @@ let ``07 - Child command should use configuration`` () =
139138
description "Can be called with a leading @ package"
140139
configure (fun cfg ->
141140
// Skip @ processing
142-
//cfg.UseTokenReplacer(fun _ _ _ -> false)
143-
//cfg.ResponseFileTokenReplacer <- null // in beta5, you must set ResponseFileTokenReplacer to null to skip @ processing
144-
cfg.ResponseFileTokenReplacer <- new TryReplaceToken(fun _ _ _ -> true)
145-
cfg
141+
cfg.ResponseFileTokenReplacer <- null
146142
)
147143
noAction
148144
addCommand getCmd

0 commit comments

Comments
 (0)