File: 0011-locale_spec-skip-test-that-fails-on-ruby3.1-when-not.patch

package info (click to toggle)
yard 0.9.37-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,720 kB
  • sloc: ruby: 31,354; javascript: 7,608; makefile: 21
file content (25 lines) | stat: -rw-r--r-- 727 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Antonio Terceiro <terceiro@debian.org>
Date: Thu, 1 Dec 2022 08:43:56 -0300
Subject: locale_spec: skip test that fails on ruby3.1 when not using bundler

This patch is Debian specific.

Closes: #1019684
Forwarded: not-needed
---
 spec/i18n/locale_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/i18n/locale_spec.rb b/spec/i18n/locale_spec.rb
index c13c267..3b1e0bf 100644
--- a/spec/i18n/locale_spec.rb
+++ b/spec/i18n/locale_spec.rb
@@ -40,7 +40,7 @@ RSpec.describe YARD::I18n::Locale do
       end
     end
 
-    it "returns true for existent PO", :if => have_gettext_gem do
+    xit "returns true for existent PO", :if => have_gettext_gem do
       data = <<-eop
 msgid ""
 msgstr ""