@@ -39,10 +39,12 @@ public function itDeterminesTheCorrectAmountOfUnitsDataProvider(): array
3939 awesomeservice.service active running
4040 nonservice.timer active running
4141 nonservice.socket active running
42+ nonservice.scope active running
4243 superservice.mount active running
4344 awesomeservice.mount active running
4445 nonservice.timer active running
4546 nonservice.socket active running
47+ nonservice.scope active running
4648 superservice.service active running
4749 awesomeservice.service active running
4850● failed-service@foo.service loaded failed failed
@@ -64,6 +66,11 @@ public function itDeterminesTheCorrectAmountOfUnitsDataProvider(): array
6466 'suffix ' => 'socket ' ,
6567 'amount ' => 2 ,
6668 ],
69+ [
70+ 'output ' => $ output ,
71+ 'suffix ' => 'scope ' ,
72+ 'amount ' => 2 ,
73+ ],
6774 [
6875 'output ' => $ output ,
6976 'suffix ' => 'mount ' ,
@@ -101,10 +108,12 @@ public function itOnlyExtractsTheUnitNamesDataProvider(): array
101108 foo-bar.service Active running
102109 a-timer.timer Active running
103110 a-socket.socket Active running
111+ a-scope.scope Active running
104112 super.mount Active running
105113 awesome.mount Active running
106114 nonservice.timer Active running
107115 nonservice.socket Active running
116+ nonservice.scope Active running
108117 instance-service@1.service Active running
109118 instance-service@foo.service Active running
110119● failed-service@foo.service loaded failed failed
@@ -138,6 +147,14 @@ public function itOnlyExtractsTheUnitNamesDataProvider(): array
138147 'nonservice ' ,
139148 ],
140149 ],
150+ [
151+ 'output ' => $ output ,
152+ 'suffix ' => 'scope ' ,
153+ 'units ' => [
154+ 'a-scope ' ,
155+ 'nonservice ' ,
156+ ],
157+ ],
141158 [
142159 'output ' => $ output ,
143160 'suffix ' => 'mount ' ,
0 commit comments