Skip to content

Commit

Permalink
Use precision 10 for specs by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Jun 2, 2017
1 parent 43e77d8 commit c7b1961
Show file tree
Hide file tree
Showing 36 changed files with 128 additions and 517 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ source 'https://rubygems.org'

gemspec

gem "sass", git: "https://github.com/sass/sass.git", branch: "stable"
#gem "sass", git: "https://github.com/sass/sass.git", branch: "stable"

# In development, uncomment this instead.
# gem "sass", :path => "../sass"
gem "sass", :path => "../sass"
# gem "pry"
# gem "pry-nav"
18 changes: 12 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
GIT
remote: https://github.com/sass/sass.git
revision: 4989ff72ba3fa39071ec937e866e8f38d146ddc5
branch: stable
PATH
remote: ../sass
specs:
sass (3.4.23)
sass (3.5.0.pre.rc.1)
sass-listen (~> 3.0.7)

PATH
remote: .
Expand All @@ -21,8 +20,15 @@ GEM
command_line_reporter (3.3.6)
colored (>= 1.2)
diffy (3.1.0)
ffi (1.9.18)
minitest (5.10.1)
rb-fsevent (0.9.8)
rb-inotify (0.9.8)
ffi (>= 0.5.0)
ruby-terminfo (0.1.1)
sass-listen (3.0.7)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9.7)

PLATFORMS
ruby
Expand All @@ -33,4 +39,4 @@ DEPENDENCIES
sass-spec!

BUNDLED WITH
1.13.7
1.14.4
2 changes: 1 addition & 1 deletion lib/sass_spec/test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def impl_status_path
end

def precision
@metadata.precision || 5
@metadata.precision || 10
end

def clean_test
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion spec/libsass-closed-issues/issue_1163/expected_output.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
div {
content: 106.92308em;
content: 106.9230769231em;
}

This file was deleted.

6 changes: 3 additions & 3 deletions spec/libsass-closed-issues/issue_2309/expected_output.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.c-button__icon {
min-height: 1.33333em;
min-height: 1.3333333333em;
}

.c-button__icon {
min-height: 1.28571em;
min-height: 1.2857142857em;
}

.c-button__icon {
min-height: 1.28571em;
min-height: 1.2857142857em;
}

.c-button__icon {
Expand Down
59 changes: 0 additions & 59 deletions spec/libsass-closed-issues/issue_239/expected_output-dart-sass.css

This file was deleted.

28 changes: 14 additions & 14 deletions spec/libsass-closed-issues/issue_239/expected_output.css
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
.onecol {
width: 5.8011%;
width: 5.8011049724%;
width: calc((100% - 11rem) / 12);
}

.twocol {
width: 14.36464%;
width: 14.364640884%;
width: calc((100% - 5rem) / 6);
}

.threecol {
width: 22.92818%;
width: 22.9281767956%;
width: calc((100% - 3rem) / 4);
}

.fourcol {
width: 31.49171%;
width: 31.4917127072%;
width: calc((100% - 2rem) / 3);
}

.fivecol {
width: 40.05525%;
width: 40.0552486188%;
width: calc((100% - 1.4rem) / 2.4);
}

.sixcol {
width: 48.61878%;
width: 48.6187845304%;
width: calc((100% - 1rem) / 2);
}

.sevencol {
width: 57.18232%;
width: calc((100% - 0.71429rem) / 1.71429);
width: 57.182320442%;
width: calc((100% - 0.7142857143rem) / 1.7142857143);
}

.eightcol {
width: 65.74586%;
width: 65.7458563536%;
width: calc((100% - 0.5rem) / 1.5);
}

.ninecol {
width: 74.30939%;
width: calc((100% - 0.33333rem) / 1.33333);
width: 74.3093922652%;
width: calc((100% - 0.3333333333rem) / 1.3333333333);
}

.tencol {
width: 82.87293%;
width: 82.8729281768%;
width: calc((100% - 0.2rem) / 1.2);
}

.elevencol {
width: 91.43646%;
width: calc((100% - 0.09091rem) / 1.09091);
width: 91.4364640884%;
width: calc((100% - 0.0909090909rem) / 1.0909090909);
}

.twelvecol {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ test {
num_turn: 53turn;
deg_num: 53deg;
deg_grad: 48.8deg;
deg_rad: 2417.42274deg;
deg_rad: 2417.4227395495deg;
deg_turn: 371deg;
grad_num: 12.5grad;
grad_rad: 2684.80304grad;
grad_rad: 2684.8030439438grad;
grad_turn: 211grad;
rad_num: 12.5rad;
rad_turn: 14.14159rad;
rad_turn: 14.1415926536rad;
}

This file was deleted.

12 changes: 6 additions & 6 deletions spec/libsass-closed-issues/issue_666/length/expected_output.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ test {
num_pt: 53pt;
num_px: 53px;
in_num: 53in;
in_cm: 27.53543in;
in_cm: 27.5354330709in;
in_pc: 18in;
in_mm: 12.65354in;
in_pt: 11.58333in;
in_mm: 12.6535433071in;
in_pt: 11.5833333333in;
in_px: 11.4375in;
cm_num: 53cm;
cm_pc: 28.78cm;
cm_mm: 15.2cm;
cm_pt: 12.48167cm;
cm_pt: 12.4816666667cm;
cm_px: 12.11125cm;
pc_num: 53pc;
pc_mm: 20.92126pc;
pc_mm: 20.9212598425pc;
pc_pt: 14.5pc;
pc_px: 13.625pc;
mm_num: 53mm;
mm_pt: 25.81667mm;
mm_pt: 25.8166666667mm;
mm_px: 22.1125mm;
pt_num: 53pt;
pt_px: 42.5pt;
Expand Down
44 changes: 0 additions & 44 deletions spec/libsass-closed-issues/issue_688/expected_output-dart-sass.css

This file was deleted.

Loading

0 comments on commit c7b1961

Please sign in to comment.