diff options
Diffstat (limited to 'main/test/src/mill/define/GraphTests.scala')
-rw-r--r-- | main/test/src/mill/define/GraphTests.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/test/src/mill/define/GraphTests.scala b/main/test/src/mill/define/GraphTests.scala index 7e6680be..224ce59f 100644 --- a/main/test/src/mill/define/GraphTests.scala +++ b/main/test/src/mill/define/GraphTests.scala @@ -25,6 +25,10 @@ object GraphTests extends TestSuite{ targets = Agg(singleton.single), expected = Agg(singleton.single) ) + 'backtickIdentifiers - check( + targets = Agg(bactickIdentifiers.`a-down-target`), + expected = Agg(bactickIdentifiers.`up-target`, bactickIdentifiers.`a-down-target`) + ) 'pair - check( targets = Agg(pair.down), expected = Agg(pair.up, pair.down) @@ -95,6 +99,14 @@ object GraphTests extends TestSuite{ Agg(_.single), Agg(singleton.single -> 1) ) + 'backtickIdentifiers - check(bactickIdentifiers)( + _.`a-down-target`, + Agg(_.`up-target`, _.`a-down-target`), + Agg( + bactickIdentifiers.`up-target` -> 1, + bactickIdentifiers.`a-down-target` -> 1 + ) + ) 'pair - check(pair)( _.down, Agg(_.up, _.down), |