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

Check that filter JSON can be passed inline as a query parameter #103

Merged
merged 3 commits into from
Dec 11, 2015

Conversation

NegativeMjark
Copy link
Contributor

Tests changes made in matrix-org/synapse#431
Documented in matrix-org/matrix-spec-proposals#224

@{ $room->{state}{events} } == 1
or die "Expected a single state event because of the filter";

$room->{state}{events}[0]{type} eq "m.room.member"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way, I'm cleaning up eq type tests to use assert_eq instead, as they'll have nicer output on failures.

@leonerd
Copy link
Contributor

leonerd commented Dec 9, 2015

LGTM. Though you could also use assert_eq to save me some time later on ;)

NegativeMjark added a commit that referenced this pull request Dec 11, 2015
Check that filter JSON can be passed inline as a query parameter
@NegativeMjark NegativeMjark merged commit d119e84 into develop Dec 11, 2015
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