issue-314-constexpr

This commit is contained in:
John Wellbelove 2020-12-03 11:55:12 +00:00
parent 4bcd734dad
commit 3dd45ca504
3 changed files with 12 additions and 1 deletions

View File

@ -1,7 +1,7 @@
name: gcc
on:
push:
branches: [ master ]
branches: [ master, hotfix/issue-314-constexpr ]
pull_request:
branches: [ master ]

View File

@ -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

View File

@ -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)
{