Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

単体テストコードの記述ミスを訂正する #1611

Merged
merged 1 commit into from
Mar 28, 2021

Conversation

berryzplus
Copy link
Contributor

PR の目的

タイトル通りです。

カテゴリ

  • その他の問題

PR の背景

単体テストのコード記述が c++ 的に正しくないのに気付きました。

constexpr const wchar_t* str = L"hoge";

とすべきところ、以下のようにしています。

constexpr wchar_t* str = L"hoge";

MinGWビルドのコンソールを見ていて気付きました。
意外と、誰も見てないのかも知れないです。

PR のメリット

PR のデメリット (トレードオフとかあれば)

仕様・動作説明

PR の影響範囲

テスト内容

テスト1

手順

関連 issue, PR

#1579

参考資料

constexpr const wchar_t* str = L"hoge";
とすべきところ、以下のようにしていた。
constexpr wchar_t* str = L"hoge";
@sonarcloud
Copy link

sonarcloud bot commented Mar 28, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@AppVeyorBot
Copy link

Copy link
Contributor

@beru beru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

問題無いと思います。

@berryzplus
Copy link
Contributor Author

レビューありがとうございます。マージしちゃいます。

@berryzplus berryzplus merged commit 79e41d1 into sakura-editor:master Mar 28, 2021
@berryzplus berryzplus deleted the feature/fix_test_case branch March 28, 2021 13:34
@beru beru added the UnitTest label Mar 31, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants