XO0176: `pub` before something that cannot be exported
pub exports a declaration from its module (core 1.5). Imports (use) and test blocks cannot be exported, so pub use and pub test are rejected. Remove the pub.
Example
pub test "adds" {
expect(1 + 1) == 2
}Fix
test "adds" {
expect(1 + 1) == 2
}Run xo explain XO0176 for this text in a terminal, or see
section 10.6 of the specification.