Skip to content

Commit 7b62599

Browse files
authored
Merge pull request #88 from innoave/feat/extracting-ref-for-asserting-multiple-fields-of-same-subject
feat: chaining the extraction of multiple properties of the same subject
2 parents 18675f5 + e77929e commit 7b62599

26 files changed

Lines changed: 4813 additions & 615 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="Doc" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
3+
<option name="command" value="doc --all-features --no-deps" />
4+
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
5+
<envs />
6+
<option name="emulateTerminal" value="false" />
7+
<option name="channel" value="NIGHTLY" />
8+
<option name="requiredFeatures" value="true" />
9+
<option name="allFeatures" value="true" />
10+
<option name="withSudo" value="false" />
11+
<option name="buildTarget" value="REMOTE" />
12+
<option name="backtrace" value="NO" />
13+
<option name="isRedirectInput" value="false" />
14+
<option name="redirectInputPath" value="" />
15+
<method v="2">
16+
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
17+
</method>
18+
</configuration>
19+
</component>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,9 +457,9 @@ for iterators that yield items in a well-defined order.
457457
| contains_all_in_order | verify that an iterator/collection contains all the given values and in the given order, possibly with other values between them |
458458
| starts_with | verify that an iterator/collection contains the given values as the first elements in order |
459459
| ends_with | verify that an iterator/collection contains the given values as the last elements in order |
460-
| first_element | verfiy that an iterator/collection contains at least one element and return a `Spec` containing the first element |
461-
| last_element | verfiy that an iterator/collection contains at least one element and return a `Spec` containing the last element |
462-
| nth_element | verfiy that an iterator/collection contains at least one element and return a `Spec` containing the nth element |
460+
| first_element | verify that an iterator/collection contains at least one element and return a `Spec` containing the first element |
461+
| last_element | verify that an iterator/collection contains at least one element and return a `Spec` containing the last element |
462+
| nth_element | verify that an iterator/collection contains at least one element and return a `Spec` containing the nth element |
463463
| elements_at | pick the elements of an iterator/collection at the given positions and return a `Spec` containing the selected elements |
464464

465465
### Maps

0 commit comments

Comments
 (0)