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

$current in identity() #374 #360 #492 #612

Closed
wants to merge 1 commit into from
Closed

Conversation

karser
Copy link

@karser karser commented Nov 11, 2016

I wasn't able to use $current in identity() like it's described in the docs
field: <($current)>

@theofidry
Copy link
Member

Thanks for the report! I'll take a better look at that later. Meanwhile, would it be possible to have a sample of your fixtures where you're using it?

@karser
Copy link
Author

karser commented Nov 11, 2016

The example might be a day of week

    assign{1..100}:
       dayOfWeek: '<($current % 7)>'

@theofidry
Copy link
Member

Indeed there is no reason why it shouldn't work in that context, I'll double check there is not a test for it somewhere which would reveal to be falsy and need to be changed

@theofidry
Copy link
Member

Closing in favour of #619

@theofidry theofidry closed this Nov 12, 2016
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

Successfully merging this pull request may close these issues.

2 participants