Skip to content

Instantly share code, notes, and snippets.

@jamiebuilds
Created February 17, 2014 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamiebuilds/9058116 to your computer and use it in GitHub Desktop.
Save jamiebuilds/9058116 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.4)
// Compass (v1.0.0.alpha.18)
// ----
/**
* Sass test runner in a tweet
*/
@mixin expect($a, $b) {
#{if($a == $b, Passed, Failed)} {
Expected: $a to equal $b;
}
}
@include expect(1, 1);
@include expect((1, 2, 3), (1, 2, 3));
/**
* Sass test runner in a tweet
*/
Passed {
Expected: 1 to equal 1;
}
Passed {
Expected: 1, 2, 3 to equal 1, 2, 3;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment