jmespath / jmespath/jmespath.lua

Three compliance tests don't pass with Lua 5.1.4

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
27
Forks
10
PR merge metrics
No merged PRs in 30d

Description

% lua -v
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio

% uname -a
Linux 3.13.0-44 Ubuntu SMP Wed Dec 17 00:39:15 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

% sudo make test
luarocks make rockspecs/jmespath-0.1-0.rockspec > /dev/null
busted
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¼ââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¼ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
681 successes / 3 failures / 0 errors / 0 pending : 0.17 seconds

Failure â ./spec/compliance_spec.lua @ 62
compliance keys(objects) from /home/user1/Downloads/jmespath.lua-master/spec/compliance/functions.json (Suite 1, case 65)
./spec/compliance_spec.lua:81: Expected objects to be the same.
Passed in:
(string) '["foo","bar"]'
Expected:
(string) '["bar","foo"]'

Failure â ./spec/compliance_spec.lua @ 62
compliance values(objects) from /home/user1/Downloads/jmespath.lua-master/spec/compliance/functions.json (Suite 1, case 69)
./spec/compliance_spec.lua:81: Expected objects to be the same.
Passed in:
(string) '["bar","baz"]'
Expected:
(string) '["baz","bar"]'

Failure â ./spec/compliance_spec.lua @ 62
compliance [[_],_] from /home/user1/Downloads/jmespath.lua-master/spec/compliance/multiselect.json (Suite 10, case 1)
./spec/compliance_spec.lua:81: Expected objects to be the same.
Passed in:
(string) '[,["object"]]'
Expected:
(string) '{"2":["object"]}'
make: **\* [test] Error 3

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.