Skip to content

Commit

Permalink
Merge pull request #358 from tienvx/fix-date-example-value
Browse files Browse the repository at this point in the history
docs: Fix date example value
  • Loading branch information
rholshausen authored Jan 18, 2024
2 parents ac8e582 + 7d61557 commit 5f29d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/pact_models/src/matchingrules/expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
//! | integer | Value must be an integer value (no decimals) | | `matching(integer, 100)` |
//! | decimal | Value must be a decimal number (must have at least one significant figure after the decimal point) | | `matching(decimnal, 100.01)` |
//! | datetime | Value must match a date-time format string | Format String | `matching(datetime, 'yyyy-MM-dd HH:mm:ssZZZZZ', '2020-05-21 16:44:32+10:00')` |
//! | date | Value must match a date format string | Format String | `matching(date, 'yyyy-MM-dd', '22:04')` |
//! | date | Value must match a date format string | Format String | `matching(date, 'yyyy-MM-dd', '2020-05-21')` |
//! | time | Value must match a time format string | Format String | `matching(time, 'HH:mm', '22:04')` |
//! | regex | Value must match a regular expression | Regular expression | `matching(regex, '\\w{3}\\d+', 'abc123')` |
//! | include | Value must include the example value as a substring | | `matching(include, 'testing')` |
Expand Down

0 comments on commit 5f29d76

Please sign in to comment.