File: 0004-line_number_test-don-t-test-coffee-script.patch

package info (click to toggle)
ruby-haml 6.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,016 kB
  • sloc: ruby: 9,830; ansic: 536; sh: 23; makefile: 18
file content (21 lines) | stat: -rw-r--r-- 720 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Antonio Terceiro <terceiro@debian.org>
Date: Wed, 21 Dec 2022 19:44:06 -0300
Subject: line_number_test: don't test coffee-script

---
 test/haml/line_number_test.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/haml/line_number_test.rb b/test/haml/line_number_test.rb
index bc1d020..bd57adf 100644
--- a/test/haml/line_number_test.rb
+++ b/test/haml/line_number_test.rb
@@ -147,7 +147,7 @@ describe Haml::Engine do
           = __LINE__
         HAML
       end
-    end unless /java/ === RUBY_PLATFORM # execjs is not working with Travis JRuby environment
+    end unless true # coffee-script is broken beyond repair
 
     describe 'css filter' do
       it 'renders static filter' do