test/test_plain.rb in jekyll-chatgpt-translate-0.0.42 vs test/test_plain.rb in jekyll-chatgpt-translate-0.0.43
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
# (The MIT License)
#
-# Copyright (c) 2023 Yegor Bugayenko
+# Copyright (c) 2023-2024 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
@@ -26,10 +26,10 @@
require_relative 'test__helper'
require_relative '../lib/jekyll-chatgpt-translate/plain'
# Plain test.
# Author:: Yegor Bugayenko (yegor256@gmail.com)
-# Copyright:: Copyright (c) 2023 Yegor Bugayenko
+# Copyright:: Copyright (c) 2023-2024 Yegor Bugayenko
# License:: MIT
class GptTranslate::PlainTest < Minitest::Test
def test_simple_map
assert_equal('Hello, **world**!', GptTranslate::Plain.new("Hello,\n**world**!").to_s)
assert_equal('Hello, [world](/x.html)!', GptTranslate::Plain.new("Hello,\n[world](/x.html)!").to_s)