diff --git a/.woodpecker.yml b/.woodpecker.yml index 27dd3bc..fea78e9 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,6 +6,11 @@ clone: lfs: false pipeline: + fmt: + image: alpine + - curl https://ziglang.org/download/0.10.0/zig-linux-x86_64-0.10.0.tar.xz | xz -d | tar -x + - ./zig-linux-x86_64-0.10.0/zig fmt --check src/ tests/ build.zig + unit-tests: image: alpine commands: diff --git a/src/http/urlencode.zig b/src/http/urlencode.zig index bd97f50..fdfb680 100644 --- a/src/http/urlencode.zig +++ b/src/http/urlencode.zig @@ -68,7 +68,7 @@ pub const Iter = struct { /// + pub fn parse([]const u8) !F /// /// Boolean Parameters: -/// The following query strings will all parse a `true` value for the +/// The following query strings will all parse a `true` value for the /// parameter `foo: bool = false`: /// - `?foo` /// - `?foo=true`