Skip to content

Commit 2d3239d

Browse files
committed
Added AppVeyor configuration
1 parent ee74d8a commit 2d3239d

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

.appveyor.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
os:
2+
- Visual Studio 2015
3+
4+
build_script:
5+
- git submodule init
6+
- git submodule update
7+
- mkdir build
8+
- cd build
9+
- cmake ..
10+
- cmake --build .
11+
- ctest
12+
13+
on_failure:
14+
- type Testing\Temporary\LastTest.log

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
_build
2+
cmake-build-*
3+
.idea

README.rst

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
.. image:: https://travis-ci.org/cpp-netlib/uri.png?branch=master
1010
:target: https://travis-ci.org/cpp-netlib/uri
11+
12+
.. image:: https://ci.appveyor.com/api/projects/status/hc10ha6ugl6ea90u?svg=true
13+
:target: https://ci.appveyor.com/project/glynos/url-3aeqd
1114

1215
.. image:: https://img.shields.io/badge/license-boost-blue.svg
1316
:target: https://github.com/cpp-netlib/uri/blob/master/LICENSE_1_0.txt

test/uri_encoding_test.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ TEST(uri_encoding_test, decode_accepts_utf8) {
141141
ASSERT_NO_THROW(network::uri::decode(std::begin(encoded), std::end(encoded),
142142
std::back_inserter(instance)));
143143

144-
const std::string unencoded = u8"법정동";
144+
// const std::string unencoded = "법정동";
145+
const std::string unencoded = "\xEB\xB2\x95\xEC\xA0\x95\xEB\x8F\x99";
145146
ASSERT_EQ(unencoded, instance);
146147
}

0 commit comments

Comments
 (0)