summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2015-02-18 11:32:32 +0100
committerTails developers <amnesia@boum.org>2015-02-18 11:51:21 +0100
commitdd71d79fa0e94c5a8d0a281614981498f37ce224 (patch)
tree99aaafcaa5c33593e4dbca7a01c7763dea086139
parentf06537a27a47a75857ef2bd87188b210c168c960 (diff)
Use non-capturing group for unused group.
-rw-r--r--features/step_definitions/tor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/step_definitions/tor.rb b/features/step_definitions/tor.rb
index 32a4c44..474e7d3 100644
--- a/features/step_definitions/tor.rb
+++ b/features/step_definitions/tor.rb
@@ -211,7 +211,7 @@ Then /^the untorified connection is logged as dropped by the firewall$/ do
"dropped by the firewall")
end
-When /^the system DNS is( still)? using the local DNS resolver$/ do |_|
+When /^the system DNS is(?: still)? using the local DNS resolver$/ do
next if @skip_steps_while_restoring_background
resolvconf = @vm.file_content("/etc/resolv.conf")
bad_lines = resolvconf.split("\n").find_all do |line|