mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
issue-314-constexpr
This commit is contained in:
parent
4bcd734dad
commit
3dd45ca504
2
.github/workflows/gcc.yml
vendored
2
.github/workflows/gcc.yml
vendored
@ -1,7 +1,7 @@
|
||||
name: gcc
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ master, hotfix/issue-314-constexpr ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
|
||||
2
.github/workflows/vs2019.yml
vendored
2
.github/workflows/vs2019.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
cmake -G "Visual Studio 16 2019" -DBUILD_TESTS=ON ./
|
||||
MSBuild.exe -version
|
||||
MSBuild.exe etl.sln
|
||||
|
||||
- name: Run tests
|
||||
@ -43,6 +44,7 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
cmake -G "Visual Studio 16 2019" -DBUILD_TESTS=ON -DNO_STL=ON ./
|
||||
MSBuild.exe -version
|
||||
MSBuild.exe etl.sln
|
||||
|
||||
- name: Run tests
|
||||
|
||||
@ -45,6 +45,15 @@ namespace
|
||||
|
||||
SUITE(test_to_string)
|
||||
{
|
||||
TEST(test_issue_314)
|
||||
{
|
||||
etl::string<20> str;
|
||||
|
||||
etl::format_spec ft;
|
||||
ft.precision(6);
|
||||
etl::to_string('c', str, ft, true);
|
||||
}
|
||||
|
||||
//*************************************************************************
|
||||
TEST(test_default_format_no_append)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user