Package Details: oq 1.3.5-1

Git Clone URL: https://aur.archlinux.org/oq.git (read-only, click to copy)
Package Base: oq
Description: A performant, and portable jq wrapper to facilitate the consumption and output of formats other than JSON; using jq filters to transform the data.
Upstream URL: https://github.com/blacksmoke16/oq
Keywords: cli crystal jq
Licenses: MIT
Submitter: Blacksmoke16
Maintainer: Blacksmoke16
Last Packager: Blacksmoke16
Votes: 1
Popularity: 0.000000
First Submitted: 2021-07-31 20:11 (UTC)
Last Updated: 2024-04-04 02:11 (UTC)

Required by (0)

Sources (1)

Latest Comments

micwoj92 commented on 2024-04-04 01:54 (UTC)

Thanks

Blacksmoke16 commented on 2024-04-04 01:42 (UTC)

Thanks, I see the problem now. Need to tag a new patch release. I'll do that shortly and update the PKGBUILD again.

micwoj92 commented on 2024-04-04 01:37 (UTC)

Still fails, here entire log: https://gist.github.com/micwoj92/0fc316cd7ebecc1cb51f089ca5ebd545

micwoj92 commented on 2024-04-04 01:14 (UTC)

Check fails

==> Starting check()...
jq: jq-1.7.1
oq: 1.3.4
Randomized with seed: 90480
....F.......................................................................................................*..........................................F..............................................*

Pending:
  OQ::Converters::YAML .deserialize Object with a complex sequence key
  OQ::Converters::SimpleYAML .deserialize Object with a complex sequence key

Failures:

  1) OQ::Processor custom IOs works with custom error output
     Failure/Error: error_io.to_s.should eq "parse error: Invalid numeric literal at line 1, column 12\n"

       Expected: "parse error: Invalid numeric literal at line 1, column 12\n"
            got: "jq: parse error: Invalid numeric literal at line 1, column 12\n"

     # spec/processor_spec.cr:24

  2) OQ should colorize the output with the -C option
     Failure/Error: output.should eq %(\e[1;39m{\e[0m\e[34;1m"name"\e[0m\e[1;39m:\e[0m\e[0;32m"Jim"\e[0m\e[1;39m\e[1;39m}\e[0m\n)

       Expected: "\e[1;39m{\e[0m\e[34;1m\"name\"\e[0m\e[1;39m:\e[0m\e[0;32m\"Jim\"\e[0m\e[1;39m\e[1;39m}\e[0m\n"
            got: "\e[1;39m{\e[0m\e[1;34m\"name\"\e[0m\e[1;39m:\e[0m\e[0;32m\"Jim\"\e[0m\e[1;39m\e[1;39m}\e[0m\n"

     # spec/oq_spec.cr:40

Finished in 1.08 seconds
199 examples, 2 failures, 0 errors, 2 pending

Failed examples:

crystal spec spec/processor_spec.cr:14 # OQ::Processor custom IOs works with custom error output
crystal spec spec/oq_spec.cr:38 # OQ should colorize the output with the -C option
Randomized with seed: 90480
==> ERROR: A failure occurred in check().
    Aborting...