File: increase-test-threshold-for-riscv.patch

package info (click to toggle)
ruby-redcloth 4.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 712 kB
  • sloc: ruby: 1,233; ansic: 201; makefile: 22
file content (11 lines) | stat: -rw-r--r-- 302 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- a/spec/security/CVE-2023-31606_spec.rb
+++ b/spec/security/CVE-2023-31606_spec.rb
@@ -36,7 +36,7 @@
     res = RedCloth.new(text, [:sanitize_html]).to_html
     t2 = Time.now
 
-    expect(t2-t1).to be <= 3
+    expect(t2-t1).to be <= 12
   end
 
   it 'should keep the generated HTML the same' do