# Fix standalone test simple/cat/main.zig after Writergate update \(\#25188\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/6b8cef81076dd4577d7b053b555432ea1805d5e5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 6b8cef81076dd4577d7b053b555432ea1805d5e5

Requested commit: 6b8cef81076dd4577d7b053b555432ea1805d5e5

Commit: 6b8cef81076dd4577d7b053b555432ea1805d5e5

Tree: 9d4c2936e820b29419b19f9c2b471fb7d13be1b6

Author: Sardorbek Imomaliev

Committer: GitHub

## Message

```
Fix standalone test simple/cat/main.zig after Writergate update (#25188)

* Make cat in test/standalone/simple working again

- Fixes:
    zig/0.15.1/lib/zig/std/Io/Writer.zig:939:11: 0x1049aef63 in sendFileAll (nclip)
        assert(w.buffer.len > 0);
- because we are no using non zero buffers for stdout - "do not forget to flush"

* replace std.fs with fs because we are already importing it
```

## Parents

- [fb3afc8d3da547c1b73c9cf18cd1a394b0ebefbc](https://git.cafe/gitcafe/zig/commit/fb3afc8d3da547c1b73c9cf18cd1a394b0ebefbc?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/6b8cef81076dd4577d7b053b555432ea1805d5e5?format=markdown)
