Skip to content

Commit 422b971

Browse files
committed
Fixing Windows test and add badge
1 parent 5411c6e commit 422b971

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![GitHub release](https://img.shields.io/github/release/PolymerX/postcss-html-loader.svg?style=flat-square)](https://github.com/PolymerX/postcss-html-loader)
44
[![Build Status](https://travis-ci.org/PolymerX/postcss-html-loader.svg?branch=master&style=flat-square)](https://travis-ci.org/PolymerX/postcss-html-loader)
5+
[![Build status](https://ci.appveyor.com/api/projects/status/0ksik9f3euryjq9x?svg=true)](https://ci.appveyor.com/project/LasaleFamine/postcss-html-loader)
56
[![Coverage Status](https://coveralls.io/repos/github/PolymerX/postcss-html-loader/badge.svg?branch=master&style=flat-square)](https://coveralls.io/github/PolymerX/postcss-html-loader?branch=master)
67
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square)](https://github.com/sindresorhus/xo)
78
[![postcss-html-loader](https://img.shields.io/badge/polymerX-postcss--html--loader-red.svg?style=flat-square)](https://github.com/PolymerX/postcss-html-loader)

test/units/full-path.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
import {join} from 'path';
12
import test from 'ava';
23
import fullPath from '../../src/lib/full-path';
34

45
test('fullPath()', t => {
56
t.is(
67
fullPath('test.postcss', '/my/dir/file.html'),
7-
'/my/dir/test.postcss',
8+
join('my', 'dir', 'test.postcss'),
89
'should return the full path of a source based on the path of the resource file'
910
);
1011
});

0 commit comments

Comments
 (0)