diff options
author | Nobuyoshi Nakada <[email protected]> | 2023-06-16 23:55:47 +0900 |
---|---|---|
committer | git <[email protected]> | 2023-06-19 02:24:13 +0000 |
commit | 10e4a9a5c271366a426056566edbdef3f4311c9d () | |
tree | cc5058886a2101a3cc61356085de74de8832a257 /test/rubygems/test_gem_commands_cert_command.rb | |
parent | af66b9b7203a22e6029872513c59a7284f381cf9 (diff) |
[rubygems/rubygems] Escape regexp metachacters or use `assert_include`
https://.com/rubygems/rubygems/commit/6d445a85d7
-rw-r--r-- | test/rubygems/test_gem_commands_cert_command.rb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -677,8 +677,9 @@ ERROR: --private-key not specified and ~/.gem/gem-private_key.pem does not exis expected_path = File.join(gem_path, "#{File.basename(tmp_expired_cert_file)}.expired") assert_match( - /INFO: Your certificate #{tmp_expired_cert_file} has been re-signed\nINFO: Your expired certificate will be located at: #{expected_path}\.[0-9]+/, @ui.output ) assert_equal "", @ui.error |