Commit 6803283
committed
Add unit tests for the ToPack and PackLLB functions
Add unit tests for the functions in hops/package.go file. These
functions are the backbone for the transformation of hops (i.e.
bunnyfile input) to the final instructions passed to buildkit.
Signed-off-by: Charalampos Mainas <cmainas@nubificus.co.uk>1 parent 157c751 commit 6803283
3 files changed
+996
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
147 | 153 | | |
148 | 154 | | |
149 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
193 | | - | |
| 192 | + | |
194 | 193 | | |
195 | | - | |
| 194 | + | |
196 | 195 | | |
197 | | - | |
198 | | - | |
199 | 196 | | |
200 | 197 | | |
201 | 198 | | |
| |||
0 commit comments