[gcc] Fix commandline method call.
@@ -324,9 +324,9 @@ def test_set_choices():
with gym.make("gcc-v0") as env:
env.reset()
env.choices = [-1] * len(env.gcc_spec.options)
- assert env.command_line.startswith("docker:gcc:11.2.0 -w -c src.c -o obj.o")
+ assert env.commandline().startswith("docker:gcc:11.2.0 -w -c src.c -o obj.o")
env.choices = [0] * len(env.gcc_spec.options)
- assert env.command_line.startswith(
+ assert env.commandline().startswith(
"docker:gcc:11.2.0 -O0 -faggressive-loop-optimizations -falign-functions -falign-jumps -falign-labels"
)
