File: error_test.rb

package info (click to toggle)
rust-magnus 0.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,468 kB
  • sloc: ruby: 150; sh: 17; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

require "test/unit"
require_relative "../lib/ahriman"

class ErrorTest < Test::Unit::TestCase

  def test_error?
    assert_raise(Ahriman::RubricError) { Ahriman::cast_rubric }
  end

end