rhenium/plum

View on GitHub
test/plum/test_error.rb

Summary

Maintainability
A
0 mins
Test Coverage
require "test_helper"

class ErrorTest < Minitest::Test
  def test_http_error_http2_error_code
    test = -> klass {
      e = klass.new(:cancel)
      assert_equal(0x08, e.http2_error_code)
    }

    test.call HTTPError
  end
end