Skip to content

Commit

Permalink
Merge pull request #1302 from sass/more-trailing-tabs
Browse files Browse the repository at this point in the history
Add more specs for escaped tabs
  • Loading branch information
nex3 authored Nov 8, 2018
2 parents cabb127 + 3931160 commit dc2d573
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ matrix:
fast_finish: true
include:
- gemfile: Gemfile
env: LANGUAGE_VERSION=3.6 IMPL=ruby-sass
- gemfile: Gemfile.sass_next
env: LANGUAGE_VERSION=3.7 IMPL=ruby-sass
- gemfile: Gemfile.sass_next
env: LANGUAGE_VERSION=3.8 IMPL=ruby-sass
- gemfile: Gemfile.sass_master
env: LANGUAGE_VERSION=4.0 IMPL=ruby-sass
- env: LANGUAGE_VERSION=3.5 IMPL=libsass COMMAND="../sassc/bin/sassc" GITISH=3.5-stable
Expand Down
1 change: 1 addition & 0 deletions lib/sass_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module SassSpec
3.5
3.6
3.7
3.8
4.0
)
MIN_LANGUAGE_VERSION = Gem::Version.new(LANGUAGE_VERSIONS.first)
Expand Down
9 changes: 9 additions & 0 deletions spec/values/identifiers/escape/normalize/expected_output.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,12 @@
name-char-interpolation-end: foo-;
raw-escaped-tab: \ ;
}

@media screen\ {
x {
y: z;
}
}
selector\ {
x: y;
}
9 changes: 9 additions & 0 deletions spec/values/identifiers/escape/normalize/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,12 @@
// Regression test for sass/ruby-sass#94
raw-escaped-tab: \ ;
}

// Regression test for sass/ruby-sass#96
@media screen\9 {
x {y: z}
}

selector\9 {
x: y;
}

0 comments on commit dc2d573

Please sign in to comment.