Skip to content

Conversation

@Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented May 6, 2015

Adds support var using variables in Suffix() expressions as requested in #998

e.g:

var prop = "propXY12";
P(p => p.Name.Suffix(prop)).Should().Be("name.propXY12");

This PR also fixes a bug where IDictionary<TKey, TValue> expressions would fail unexpectedly where `Dictionary<Tkey, TValue> worked fine.

@gmarz
Copy link
Contributor

gmarz commented May 6, 2015

Nice! LGTM 👍

gmarz added a commit that referenced this pull request May 6, 2015
@gmarz gmarz merged commit 7cb1309 into develop May 6, 2015
@gmarz gmarz deleted the feature/variable-suffix branch May 6, 2015 14:40
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.

3 participants