Fix deprecation warning in scripted tests

This commit is contained in:
Ethan Atkins 2018-10-05 11:10:29 -07:00
parent 6725b39a84
commit 51be0856a1
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ final class ScriptedTests(
| def setUpScripted = Command.command("setUpScripted") { (state0: State) =>
| val nameScriptedSetting = name.in(LocalRootProject).:=(
| if (name.value.startsWith("sbt_")) "$testName" else name.value)
| val state1 = Project.extract(state0).append(nameScriptedSetting, state0)
| val state1 = Project.extract(state0).appendWithoutSession(nameScriptedSetting, state0)
| "initialize" :: state1
| }
|}