Skip to content

Commit

Permalink
Bump v3.0.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mirisuzanne committed Jun 1, 2017
1 parent 194ee15 commit 7a73ab1
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .sassdoc/api-assert-output.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>sass-true Documentation</title><link href="assets/img/favicon.ico" rel="shortcut icon"><link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700|Source+Sans+Pro:400,400i,700,700i" rel="stylesheet"><link rel="stylesheet" href="assets/css/main.css"><link rel="stylesheet" href="assets/css/theme.css"></head><body><svg xmlns="http://www.w3.org/2000/svg" hidden><symbol id="icon-menu" viewBox="0 0 24 28"><title>menu icon</title><path d="M24 21v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1v-2c0-.547.453-1 1-1h22c.547 0 1 .453 1 1zm0-8v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1v-2c0-.547.453-1 1-1h22c.547 0 1 .453 1 1zm0-8v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1V5c0-.547.453-1 1-1h22c.547 0 1 .453 1 1z"/></symbol><symbol id="icon-search" viewBox="0 0 24 28"><title>search icon</title><path d="M24 21v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1v-2c0-.547.453-1 1-1h22c.547 0 1 .453 1 1zm0-8v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1v-2c0-.547.453-1 1-1h22c.547 0 1 .453 1 1zm0-8v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1V5c0-.547.453-1 1-1h22c.547 0 1 .453 1 1z"/></symbol></svg><div data-sassdoc-region="app"><header role="banner" data-sassdoc-region="banner"><button data-nav-toggle="small" data-toggle="button" aria-controls="nav-small" aria-pressed="false" data-toggle-synced="false"><svg data-icon="menu" data-icon-size="icon-small"><title>menu</title><use xlink:href="#icon-menu"/></svg></button> <button data-nav-toggle="large" data-toggle="button" aria-controls="nav-large" aria-pressed="true" data-toggle-synced="false"><svg data-icon="menu" data-icon-size="icon-small"><title>menu</title><use xlink:href="#icon-menu"/></svg></button><h1 data-sassdoc="project-title"><a href="index.html" rel="home" data-sassdoc="project-name">sass-true</a> <span data-sassdoc="project-version">2.2.2</span></h1></header><div data-sassdoc-region="container"><nav role="navigation" data-nav-menu="small" data-toggle="target" id="nav-small" data-target-id="nav-small" aria-expanded="false" data-auto-closing="false" data-auto-closing-on-any-click="false"><h3 data-sassdoc="nav-title"><a href="index.html" data-sassdoc-nav="is-not-active">sass-true</a></h3><li data-sassdoc="nav-item"><a href="api-assert-output.html" data-sassdoc-nav="is-active">Comparing Output</a></li><li data-sassdoc="nav-item"><a href="api-assert-values.html" data-sassdoc-nav="is-not-active">Comparing Values</a></li><li data-sassdoc="nav-item"><a href="api-test.html" data-sassdoc-nav="is-not-active">Describing Tests</a></li><li data-sassdoc="nav-item"><a href="api-xreport.html" data-sassdoc-nav="is-not-active">Reporting Results</a></li><li data-sassdoc="nav-item"><a href="private-assert.html" data-sassdoc-nav="is-not-active">_[assertion helpers]</a></li><li data-sassdoc="nav-item"><a href="private-context.html" data-sassdoc-nav="is-not-active">_[data helpers]</a></li><li data-sassdoc="nav-item"><a href="private-message.html" data-sassdoc-nav="is-not-active">_[reporting helpers]</a></li><li data-sassdoc="nav-item"><a href="private-test.html" data-sassdoc-nav="is-not-active">_[test helpers]</a></li><li data-sassdoc="nav-item"><a href="private-utils.html" data-sassdoc-nav="is-not-active">_[internal utilities]</a></li></nav><nav role="navigation" data-nav-menu="large" data-toggle="target" id="nav-large" data-target-id="nav-large" aria-expanded="true" data-auto-closing="false" data-auto-closing-on-any-click="false"><h3 data-sassdoc="nav-title"><a href="index.html" data-sassdoc-nav="is-not-active">sass-true</a></h3><li data-sassdoc="nav-item"><a href="api-assert-output.html" data-sassdoc-nav="is-active">Comparing Output</a></li><li data-sassdoc="nav-item"><a href="api-assert-values.html" data-sassdoc-nav="is-not-active">Comparing Values</a></li><li data-sassdoc="nav-item"><a href="api-test.html" data-sassdoc-nav="is-not-active">Describing Tests</a></li><li data-sassdoc="nav-item"><a href="api-xreport.html" data-sassdoc-nav="is-not-active">Reporting Results</a></li><li data-sassdoc="nav-item"><a href="private-assert.html" data-sassdoc-nav="is-not-active">_[assertion helpers]</a></li><li data-sassdoc="nav-item"><a href="private-context.html" data-sassdoc-nav="is-not-active">_[data helpers]</a></li><li data-sassdoc="nav-item"><a href="private-message.html" data-sassdoc-nav="is-not-active">_[reporting helpers]</a></li><li data-sassdoc="nav-item"><a href="private-test.html" data-sassdoc-nav="is-not-active">_[test helpers]</a></li><li data-sassdoc="nav-item"><a href="private-utils.html" data-sassdoc-nav="is-not-active">_[internal utilities]</a></li></nav><main role="main"><nav data-sassdoc-region="breadcrumb"><a href="index.html">sass-true</a> » <strong>Comparing Output</strong></nav><div data-sassdoc-region="main" data-sassdoc-page="api-assert-output"><section class="item" id="mixin--assert"><header data-item-section="header"><h2 class="item-title"><span class="item-type">@mixin</span> <a href="#mixin--assert" class="item-name">assert()</a></h2></header><div data-item-section="summary"><h3 class="item-subtitle">Description</h3><div class="text-block"><p>Define a CSS-output assertion. Assertions are used inside the <code>test()</code> mixin to define the expected results of the test.</p><ul><li>The <code>assert()</code> mixin is a wrapper, and should contain one <code>output()</code> block and one <code>expect()</code> block as nested contents.</li><li>These three mixins together describe a single <code>assert-equal</code> comparison on output CSS. The compiled CSS-results of the <code>output()</code> mixin will be compared against the results of the <code>expect()</code> mixin.</li><li>When using Mocha integration, the output comparison is automated – otherwise you will have to compare the output manually. Using <code>git diff</code> is a great way to watch for changes in output.</li></ul></div></div><div data-item-section="parameter"><h3 class="item-subtitle">Parameters</h3><div class="param-list"><h4 class="param-title"><span class="item-name">$description:</span> <span class="item-value">null</span> <span class="value-type">(string)</span></h4><div class="param-details text-block"><p>Description of the assertion being tested. A <code>null</code> of <code>false</code> value generates a default description.</p></div></div><div class="param-list"><h4 class="param-title"><span class="item-name">@content</span> <span class="value-type">(code block)</span></h4><div class="param-details text-block"><p>Use `output()` and `expect()` mixins to define blocks for comparison</p></div></div></div><div data-item-section="examples"><h3 class="item-subtitle">Example</h3><div class="example-panel"><div class="code-block"><div class="code-header"><span class="code-language">scss</span></div><pre data-sassdoc="hljs"><code class="lang-scss">@include test(&#39;Sass math compiles before output&#39;) {
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>sass-true Documentation</title><link href="assets/img/favicon.ico" rel="shortcut icon"><link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700|Source+Sans+Pro:400,400i,700,700i" rel="stylesheet"><link rel="stylesheet" href="assets/css/main.css"><link rel="stylesheet" href="assets/css/theme.css"></head><body><svg xmlns="http://www.w3.org/2000/svg" hidden><symbol id="icon-menu" viewBox="0 0 24 28"><title>menu icon</title><path d="M24 21v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1v-2c0-.547.453-1 1-1h22c.547 0 1 .453 1 1zm0-8v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1v-2c0-.547.453-1 1-1h22c.547 0 1 .453 1 1zm0-8v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1V5c0-.547.453-1 1-1h22c.547 0 1 .453 1 1z"/></symbol><symbol id="icon-search" viewBox="0 0 24 28"><title>search icon</title><path d="M24 21v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1v-2c0-.547.453-1 1-1h22c.547 0 1 .453 1 1zm0-8v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1v-2c0-.547.453-1 1-1h22c.547 0 1 .453 1 1zm0-8v2c0 .547-.453 1-1 1H1c-.547 0-1-.453-1-1V5c0-.547.453-1 1-1h22c.547 0 1 .453 1 1z"/></symbol></svg><div data-sassdoc-region="app"><header role="banner" data-sassdoc-region="banner"><button data-nav-toggle="small" data-toggle="button" aria-controls="nav-small" aria-pressed="false" data-toggle-synced="false"><svg data-icon="menu" data-icon-size="icon-small"><title>menu</title><use xlink:href="#icon-menu"/></svg></button> <button data-nav-toggle="large" data-toggle="button" aria-controls="nav-large" aria-pressed="true" data-toggle-synced="false"><svg data-icon="menu" data-icon-size="icon-small"><title>menu</title><use xlink:href="#icon-menu"/></svg></button><h1 data-sassdoc="project-title"><a href="index.html" rel="home" data-sassdoc="project-name">sass-true</a> <span data-sassdoc="project-version">3.0.0-beta.1</span></h1></header><div data-sassdoc-region="container"><nav role="navigation" data-nav-menu="small" data-toggle="target" id="nav-small" data-target-id="nav-small" aria-expanded="false" data-auto-closing="false" data-auto-closing-on-any-click="false"><h3 data-sassdoc="nav-title"><a href="index.html" data-sassdoc-nav="is-not-active">sass-true</a></h3><li data-sassdoc="nav-item"><a href="api-assert-output.html" data-sassdoc-nav="is-active">Comparing Output</a></li><li data-sassdoc="nav-item"><a href="api-assert-values.html" data-sassdoc-nav="is-not-active">Comparing Values</a></li><li data-sassdoc="nav-item"><a href="api-test.html" data-sassdoc-nav="is-not-active">Describing Tests</a></li><li data-sassdoc="nav-item"><a href="api-xreport.html" data-sassdoc-nav="is-not-active">Reporting Results</a></li><li data-sassdoc="nav-item"><a href="private-assert.html" data-sassdoc-nav="is-not-active">_[assertion helpers]</a></li><li data-sassdoc="nav-item"><a href="private-context.html" data-sassdoc-nav="is-not-active">_[data helpers]</a></li><li data-sassdoc="nav-item"><a href="private-message.html" data-sassdoc-nav="is-not-active">_[reporting helpers]</a></li><li data-sassdoc="nav-item"><a href="private-test.html" data-sassdoc-nav="is-not-active">_[test helpers]</a></li><li data-sassdoc="nav-item"><a href="private-utils.html" data-sassdoc-nav="is-not-active">_[internal utilities]</a></li></nav><nav role="navigation" data-nav-menu="large" data-toggle="target" id="nav-large" data-target-id="nav-large" aria-expanded="true" data-auto-closing="false" data-auto-closing-on-any-click="false"><h3 data-sassdoc="nav-title"><a href="index.html" data-sassdoc-nav="is-not-active">sass-true</a></h3><li data-sassdoc="nav-item"><a href="api-assert-output.html" data-sassdoc-nav="is-active">Comparing Output</a></li><li data-sassdoc="nav-item"><a href="api-assert-values.html" data-sassdoc-nav="is-not-active">Comparing Values</a></li><li data-sassdoc="nav-item"><a href="api-test.html" data-sassdoc-nav="is-not-active">Describing Tests</a></li><li data-sassdoc="nav-item"><a href="api-xreport.html" data-sassdoc-nav="is-not-active">Reporting Results</a></li><li data-sassdoc="nav-item"><a href="private-assert.html" data-sassdoc-nav="is-not-active">_[assertion helpers]</a></li><li data-sassdoc="nav-item"><a href="private-context.html" data-sassdoc-nav="is-not-active">_[data helpers]</a></li><li data-sassdoc="nav-item"><a href="private-message.html" data-sassdoc-nav="is-not-active">_[reporting helpers]</a></li><li data-sassdoc="nav-item"><a href="private-test.html" data-sassdoc-nav="is-not-active">_[test helpers]</a></li><li data-sassdoc="nav-item"><a href="private-utils.html" data-sassdoc-nav="is-not-active">_[internal utilities]</a></li></nav><main role="main"><nav data-sassdoc-region="breadcrumb"><a href="index.html">sass-true</a> » <strong>Comparing Output</strong></nav><div data-sassdoc-region="main" data-sassdoc-page="api-assert-output"><section class="item" id="mixin--assert"><header data-item-section="header"><h2 class="item-title"><span class="item-type">@mixin</span> <a href="#mixin--assert" class="item-name">assert()</a></h2></header><div data-item-section="summary"><h3 class="item-subtitle">Description</h3><div class="text-block"><p>Define a CSS-output assertion. Assertions are used inside the <code>test()</code> mixin to define the expected results of the test.</p><ul><li>The <code>assert()</code> mixin is a wrapper, and should contain one <code>output()</code> block and one <code>expect()</code> block as nested contents.</li><li>These three mixins together describe a single <code>assert-equal</code> comparison on output CSS. The compiled CSS-results of the <code>output()</code> mixin will be compared against the results of the <code>expect()</code> mixin.</li><li>When using Mocha integration, the output comparison is automated – otherwise you will have to compare the output manually. Using <code>git diff</code> is a great way to watch for changes in output.</li></ul></div></div><div data-item-section="parameter"><h3 class="item-subtitle">Parameters</h3><div class="param-list"><h4 class="param-title"><span class="item-name">$description:</span> <span class="item-value">null</span> <span class="value-type">(string)</span></h4><div class="param-details text-block"><p>Description of the assertion being tested. A <code>null</code> of <code>false</code> value generates a default description.</p></div></div><div class="param-list"><h4 class="param-title"><span class="item-name">@content</span> <span class="value-type">(code block)</span></h4><div class="param-details text-block"><p>Use `output()` and `expect()` mixins to define blocks for comparison</p></div></div></div><div data-item-section="examples"><h3 class="item-subtitle">Example</h3><div class="example-panel"><div class="code-block"><div class="code-header"><span class="code-language">scss</span></div><pre data-sassdoc="hljs"><code class="lang-scss">@include test(&#39;Sass math compiles before output&#39;) {
@include assert(&#39;You can also describe the assertion...&#39;) {
@include output {
width: 14em + 2;
Expand Down
Loading

0 comments on commit 7a73ab1

Please sign in to comment.