Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color functions broken #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

amiuhle
Copy link

@amiuhle amiuhle commented Sep 27, 2019

I was able to reproduce #151 using Docker. I added a test case that simply renders a { color: lighten(#abc, 0%); }.

The test is successfull on Ubuntu 14.04 64-bit using this Dockerfile:

FROM ubuntu:14.04
RUN apt-get update -q && apt-get install build-essential git software-properties-common -y
RUN apt-add-repository ppa:brightbox/ruby-ng
RUN apt-get update -q && apt-get install ruby2.3 ruby2.3-dev -y
ADD . /sassc-ruby
WORKDIR /sassc-ruby
RUN gem install bundler
RUN bundle install
RUN rake test

But on 14.04 32-bit using this Dockerfile, it fails:

FROM i386/ubuntu:14.04
RUN apt-get update -q && apt-get install build-essential git software-properties-common -y
RUN apt-add-repository ppa:brightbox/ruby-ng
RUN apt-get update -q && apt-get install ruby2.3 ruby2.3-dev -y
ADD . /sassc-ruby
WORKDIR /sassc-ruby
RUN gem install bundler
RUN bundle install
RUN rake test

Output:

SassC::EngineTest#test_color_functions [/sassc-ruby/test/engine_test.rb:320]:
--- expected
+++ actual
@@ -1,3 +1,3 @@
 "a {
-  color: #aabbcc; }
+  color: #ccaaaa; }
 "

Any ideas?

@amiuhle
Copy link
Author

amiuhle commented Sep 27, 2019

Using i386/ubuntu:16.04, the test is also successful.

I'm having this problem on Debian 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant