Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing tests #3

Open
AtnNn opened this issue Aug 5, 2015 · 1 comment
Open

Failing tests #3

AtnNn opened this issue Aug 5, 2015 · 1 comment

Comments

@AtnNn
Copy link
Owner

AtnNn commented Aug 5, 2015

After fixing #2 I now see 10 of 2054 tests failed. For example:

Section test_upstream_joins: Tests that manipulation data in tables
  FAILURE in ‘ij.count().run(*conn)’:
    Expected: ‘2500’
     but got: ‘Error("runtime error: No attribute `a` in object:
{
        "b":    3,
        "id":   43
}")’
Section test_upstream_control: Tests RQL control flow structures
  FAILURE in ‘R::expr(5).do_(R::row).run(*conn)’:
    Expected: ‘5’
     but got: ‘null’
Section test_upstream_transform_map: Tests the RQL `map` function
  FAILURE in ‘R::range().map(R::expr(R::array(1, 2, 3, 4)), [=](R::Var x, R::Var y){ return R::array(*x, *y); }).run(*conn)’:
    Expected: ‘[[0,1],[1,2],[2,3],[3,4]]’
     but got: ‘[[1,0],[2,1],[3,2],[4,3]]’
@AtnNn
Copy link
Owner Author

AtnNn commented Aug 25, 2015

After examining the code, I discovered that the handling of variables when converting lambdas to reql seems completely broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant