mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
Update workflows for new GitHub Action Runner Images (#382)
* use ubuntu-latest + update actions/cache * performance-avoid-endl https://clang.llvm.org/extra/clang-tidy/checks/performance/avoid-endl.html * misc-const-correctness https://clang.llvm.org/extra/clang-tidy/checks/misc/const-correctness.html * misc-const-correctness https://clang.llvm.org/extra/clang-tidy/checks/misc/const-correctness.html * formatting * clang format and tidy and already installed https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md#language-and-runtime * explict clang-format-14 * disable include cleaner * format * format * install lcov to get patching geninfo for gcc 13 * revert "install lcov to get patching geninfo for gcc 13"
This commit is contained in:
@@ -18,7 +18,7 @@ TEST(TokenFormatTest, InvalidJSON) {
|
||||
#include "jwt-cpp/traits/nlohmann-json/traits.h"
|
||||
|
||||
TEST(TokenFormatTest, GitHubIssue341) {
|
||||
std::string token =
|
||||
std::string const token =
|
||||
"eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjYXV0aDAiLCJleHAiOjE3MTMzODgxNjgsInN1YiI6InRlc3RfdXNlciJ9."
|
||||
"dlAk0mSWk1Clzfi1PMq7Omxun3EyEqh-AAu-fTkpabA67ZKenawAQhZO8glY93flukpJCqHLVtukaes6ZSOjGw";
|
||||
auto decoded = jwt::decoded_jwt<jwt::traits::nlohmann_json>(token);
|
||||
|
||||
Reference in New Issue
Block a user