Skip to content

Commit fadc720

Browse files
committed
Fix SettingsTests
1 parent b4c918d commit fadc720

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/test/dotty/tools/dotc/SettingsTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class SettingsTests {
7272

7373
@Test def `dont crash on many options`: Unit =
7474
object Settings extends SettingGroup:
75-
val option = BooleanSetting("", "-option", "Some option")
75+
val option = BooleanSetting("", "option", "Some option")
7676

7777
val limit = 6000
7878
val args = List.fill(limit)("-option")
@@ -169,7 +169,7 @@ class SettingsTests {
169169

170170
@Test def `Allow IntSetting's to be set with a colon`: Unit =
171171
object Settings extends SettingGroup:
172-
val foo = IntSetting("", "-foo", "foo", 80)
172+
val foo = IntSetting("", "foo", "foo", 80)
173173
import Settings._
174174

175175
val args = List("-foo:100")

0 commit comments

Comments
 (0)