Skip to content

Commit 9f1d701

Browse files
committed
test(cli): Show existing O_WRONLY behavior
1 parent 66a70ab commit 9f1d701

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
import os
2+
13
from numpy.typing import NDArray # should work
4+
5+
print(os.O_WRONLY) # should work
Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
bin.name = "typos"
22
stdin = ""
3-
stdout = ""
3+
stdout = """
4+
error: `WRONLY` should be `WRONGLY`
5+
--> ./sample.py:5:12
6+
|
7+
5 | print(os.O_WRONLY) # should work
8+
| ^^^^^^
9+
|
10+
"""
411
stderr = ""
12+
status.code = 2

0 commit comments

Comments
 (0)