Created
November 4, 2017 13:53
-
-
Save dheles/0c329ebb7055387ed0e34f8570ea40f7 to your computer and use it in GitHub Desktop.
regex format example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_session | |
session = "test-session" | |
default_label = "test-default-login" | |
session_label = "test-session-login" | |
username = "user" | |
password = "pass" | |
default_output = "#{default_label}:#{username}:#{password}" | |
session_output = "#{session_label}:#{username}:#{password}" | |
error_pattern_no_record = /No such record\(s\)/ | |
error_pattern_no_session = /Unknown session/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment