Skip to content

Commit

Permalink
Update copyright year and added 2 more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Nov 9, 2023
1 parent 9c301c7 commit 6e2f7d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/support/tests/TestUtf8.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/*
*
* Copyright (c) 2021 Project CHIP Authors
* Copyright (c) 2023 Project CHIP Authors
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -105,6 +105,8 @@ void TestInvalidStrings(nlTestSuite * inSuite, void * inContext)

// Outside codepoint
TEST_INVALID_BYTES(0xf4, 0x90, 0x80, 0x80); // D
TEST_INVALID_BYTES(0xf4, 0x91, 0x82, 0x83);
TEST_INVALID_BYTES(0xf5, 0x81, 0x82, 0x83);

// Missing continuation
TEST_INVALID_BYTES(0xC2);
Expand Down

0 comments on commit 6e2f7d3

Please sign in to comment.