mirror of
https://github.com/swarm-game/swarm.git
synced 2024-10-27 10:04:12 +03:00
Just tweak the description for the GPS device so its hash changes, and hence the order of the `GPS` and `Tardis` entities in a `Set Entity` of devices that provide the `senseloc` capability. When `GPS` comes first, it will be chosen to provide the capability instead of `Tardis`.
This commit is contained in:
parent
8652440607
commit
ef6cba021b
@ -47,7 +47,7 @@ entities:
|
||||
attr: water
|
||||
char: 'G'
|
||||
description:
|
||||
- Satellite navigation device.
|
||||
- A satellite navigation device.
|
||||
properties: [known, portable]
|
||||
capabilities: [senseloc]
|
||||
- name: Tardis
|
||||
|
@ -161,7 +161,8 @@ testScenarioSolution _ci _em =
|
||||
assertBool "Robot 1 should not be in waiting set" $ not waiting
|
||||
, testSolution Default "Testing/490-harvest"
|
||||
, testSolution Default "Testing/504-teleport-self"
|
||||
, testSolution Default "Testing/508-capability-subset.yaml"
|
||||
, expectFailBecause "Awaiting fix (#508)" $
|
||||
testSolution Default "Testing/508-capability-subset.yaml"
|
||||
]
|
||||
]
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user