test/test_firstof.rb in sibit-0.22.0 vs test/test_firstof.rb in sibit-0.23.0
- old
+ new
@@ -1,8 +1,8 @@
# frozen_string_literal: true
-# Copyright (c) 2019-2022 Yegor Bugayenko
+# Copyright (c) 2019-2023 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@@ -25,10 +25,10 @@
require_relative '../lib/sibit/fake'
require_relative '../lib/sibit/firstof'
# Sibit::FirstOf test.
# Author:: Yegor Bugayenko (yegor256@gmail.com)
-# Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko
+# Copyright:: Copyright (c) 2019-2023 Yegor Bugayenko
# License:: MIT
class TestFirstOf < Minitest::Test
def test_not_array
sibit = Sibit::FirstOf.new(Sibit::Fake.new)
assert_equal(64, sibit.latest.length)