diff options
| author | Teddy Wing | 2017-11-15 16:51:54 +0100 |
|---|---|---|
| committer | Teddy Wing | 2017-11-15 16:51:54 +0100 |
| commit | 0be1602e07b8c5117976a1bf494089b246eb6927 (patch) | |
| tree | d136d54d85059f5eee6d4be175b90adb918c150f /spec/support/with_commit.rb | |
| parent | 35def4911d4eb7f6f3c2aadb6b1983993f9293f6 (diff) | |
| download | chouette-core-0be1602e07b8c5117976a1bf494089b246eb6927.tar.bz2 | |
schema_spec: Make regex more readable with whitespace4951-spec-to-validate-that-primary-and-foreign-keys-in-the-database-are-type-bigint
Thanks again to Robert. Today I learned what the `x` flag is. It ignores
whitespace inside the regex pattern. This way we can add spaces to make
the pattern more readable and still match what we were matching before
when the code was more condensed. Nice!
Refs #4951
Diffstat (limited to 'spec/support/with_commit.rb')
0 files changed, 0 insertions, 0 deletions
