catchorg / catchorg/Catch2

generateSingleHeader.py handling of block comments is brittle

Open
#1,269 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
21.5k
Forks
3.5k
Avg merge
3d 16h
Merged PRs (30d)
2

Description

## Description
`generateSingleHeader.py` expects block comments to look like this
```cpp
/*
* Foo
*/
```
and not like this:
```cpp
/*
* Foo
*/
```
or like this:
```cpp
/*
* Foo
*/
```

Because it expects exactly 1 _space_ before the `*` and silently generates invalid single header file otherwise.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.