5 Star 0 Fork 5

src-openEuler/rubygem-sassc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
00-disable-broken-tests.patch 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
caodongxia 提交于 2022-03-02 15:53 . init package
diff --git a/test/engine_test.rb b/test/engine_test.rb
index 29681d7..27c8b0c 100644
--- a/test/engine_test.rb
+++ b/test/engine_test.rb
@@ -80,20 +80,6 @@ CSS
assert_equal expected_output, output
end
- def test_precision_not_specified
- template = <<-SCSS
-$var: 1;
-.foo {
- baz: $var / 3; }
-SCSS
- expected_output = <<-CSS
-.foo {
- baz: 0.3333333333; }
-CSS
- output = Engine.new(template).render
- assert_equal expected_output, output
- end
-
def test_dependency_filenames_are_reported
base = temp_dir("").to_s
diff --git a/test/native_test.rb b/test/native_test.rb
index 876f56c..914416e 100644
--- a/test/native_test.rb
+++ b/test/native_test.rb
@@ -9,12 +9,6 @@ module SassC
SAMPLE_CSS_OUTPUT = ".hi {\n width: 30px; }\n"
BAD_SASS_STRING = "$size = 30px;"
- class General < MiniTest::Test
- def test_it_reports_the_libsass_version
- assert_equal "3.6.4", Native.version
- end
- end
-
class DataContext < MiniTest::Test
def teardown
Native.delete_data_context(@data_context) if @data_context
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/rubygem-sassc.git
[email protected]:src-openeuler/rubygem-sassc.git
src-openeuler
rubygem-sassc
rubygem-sassc
master

搜索帮助