Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apainintheneck committed Nov 18, 2023
1 parent 474aba8 commit f1a20e6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
bundler-cache: true

- name: Outdated readme check
run: bundle exec readme:outdated
run: bundle exec rake readme:outdated
3 changes: 3 additions & 0 deletions exe/atlasq
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ debug = true if ARGV.delete("-d")
debug = true if ARGV.delete("--debug")
ENV["ATLASQ_DEBUG"] = "1" if debug

# Avoid warnings on Ruby 2.7 related to pattern matching.
Warning[:experimental] = false

$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
require "atlasq"

Expand Down
1 change: 1 addition & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

# Avoid accidental debug output causing test failures.
ENV.delete("ATLASQ_DEBUG")

$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
Expand Down

0 comments on commit f1a20e6

Please sign in to comment.