Skip to content

Commit

Permalink
libnixf: raise using namespace std::literal
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed Jan 10, 2024
1 parent 2555aaa commit c7fe835
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libnixf/lib/Parse/test/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
namespace {

using namespace nixf;
using namespace std::literals;

TEST(Parser, Integer) {
using namespace std::literals;
auto Src = "1"sv;
DiagnosticEngine Diags;
auto Expr = nixf::parse(Src, Diags);
Expand All @@ -21,7 +21,6 @@ TEST(Parser, Integer) {
}

TEST(Parser, Float) {
using namespace std::literals;
auto Src = "1.0"sv;
DiagnosticEngine Diags;
auto Expr = nixf::parse(Src, Diags);
Expand All @@ -33,7 +32,6 @@ TEST(Parser, Float) {
}

TEST(Parser, FloatLeading) {
using namespace std::literals;
auto Src = "01.0"sv;
DiagnosticEngine Diags;
auto Expr = nixf::parse(Src, Diags);
Expand All @@ -45,7 +43,6 @@ TEST(Parser, FloatLeading) {
}

TEST(Parser, FloatLeading00) {
using namespace std::literals;
auto Src = "00.5"sv;
DiagnosticEngine Diags;
auto Expr = nixf::parse(Src, Diags);
Expand Down

0 comments on commit c7fe835

Please sign in to comment.