Skip to content

Commit

Permalink
fix(test): replace-part test should check for not containing replace-…
Browse files Browse the repository at this point in the history
…part instead of replaceable
  • Loading branch information
erik-lieben committed Oct 9, 2016
1 parent 61db04d commit d67f5ad
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions test/syntax.html/replace-part.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('The Aurelia HTML syntax replace-part attribute', () => {
it(`must not tokenize class="replace-part" attribute body with scope "replace-part.attribute.html.au"`, () => {

// arrange
let scope = 'replaceable.attribute.html.au';
let scope = 'replace-part.attribute.html.au';

// act
let lineToken = tokenizeLine('<div class="replace-part">');
Expand All @@ -62,7 +62,7 @@ describe('The Aurelia HTML syntax replace-part attribute', () => {
it(`must not tokenize class='replace-part' attribute body with scope "replace-part.attribute.html.au"`, () => {

// arrange
let scope = 'replaceable.attribute.html.au';
let scope = 'replace-part.attribute.html.au';

// act
let lineToken = tokenizeLine('<div class=\'replace-part\'>');
Expand All @@ -76,7 +76,7 @@ describe('The Aurelia HTML syntax replace-part attribute', () => {
it(`must not tokenize (somereplace-part)="item-template" attribute body with scope "replace-part.attribute.html.au"`, () => {

// arrange
let scope = 'replaceable.attribute.html.au';
let scope = 'replace-part.attribute.html.au';

// act
let lineToken = tokenizeLine('<template somereplace-part="item-template">');
Expand All @@ -90,7 +90,7 @@ describe('The Aurelia HTML syntax replace-part attribute', () => {
it(`must not tokenize (somereplace-part)='item-template' attribute body with scope "replace-part.attribute.html.au"`, () => {

// arrange
let scope = 'replaceable.attribute.html.au';
let scope = 'replace-part.attribute.html.au';

// act
let lineToken = tokenizeLine('<template somereplace-part=\'item-template\'>');
Expand All @@ -104,7 +104,7 @@ describe('The Aurelia HTML syntax replace-part attribute', () => {
it(`must not tokenize (replace-partsome)="item-template" attribute body with scope "replace-part.attribute.html.au"`, () => {

// arrange
let scope = 'replaceable.attribute.html.au';
let scope = 'replace-part.attribute.html.au';

// act
let lineToken = tokenizeLine('<template replace-partsome="item-template">');
Expand All @@ -118,7 +118,7 @@ describe('The Aurelia HTML syntax replace-part attribute', () => {
it(`must not tokenize (replace-partsome)='item-template' attribute body with scope "replace-part.attribute.html.au"`, () => {

// arrange
let scope = 'replaceable.attribute.html.au';
let scope = 'replace-part.attribute.html.au';

// act
let lineToken = tokenizeLine('<template replace-partsome=\'item-template\'>');
Expand All @@ -132,7 +132,7 @@ describe('The Aurelia HTML syntax replace-part attribute', () => {
it(`must not tokenize (replace-part-some)="item-template" attribute body with scope "replace-part.attribute.html.au"`, () => {

// arrange
let scope = 'replaceable.attribute.html.au';
let scope = 'replace-part.attribute.html.au';

// act
let lineToken = tokenizeLine('<template replace-part-some="item-template">');
Expand All @@ -146,7 +146,7 @@ describe('The Aurelia HTML syntax replace-part attribute', () => {
it(`must not tokenize (replace-part-some)='item-template' attribute body with scope "replace-part.attribute.html.au"`, () => {

// arrange
let scope = 'replaceable.attribute.html.au';
let scope = 'replace-part.attribute.html.au';

// act
let lineToken = tokenizeLine('<template replace-part-some=\'item-template\'>');
Expand All @@ -160,7 +160,7 @@ describe('The Aurelia HTML syntax replace-part attribute', () => {
it(`must not tokenize (some-replace-part)="item-template" attribute body with scope "replace-part.attribute.html.au"`, () => {

// arrange
let scope = 'replaceable.attribute.html.au';
let scope = 'replace-part.attribute.html.au';

// act
let lineToken = tokenizeLine('<template some-replace-part="item-template">');
Expand All @@ -174,7 +174,7 @@ describe('The Aurelia HTML syntax replace-part attribute', () => {
it(`must not tokenize (some-replace-part)='item-template' attribute body with scope "replace-part.attribute.html.au"`, () => {

// arrange
let scope = 'replaceable.attribute.html.au';
let scope = 'replace-part.attribute.html.au';

// act
let lineToken = tokenizeLine('<template some-replace-part=\'item-template\'>');
Expand Down

0 comments on commit d67f5ad

Please sign in to comment.