# fix bad runtime safety test cases · gitcafe/zig

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

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

Visibility: public

Requested revision: 537f9052167a683c922c9815eb9fdce5b0778dc2

Requested commit: 537f9052167a683c922c9815eb9fdce5b0778dc2

Commit: 537f9052167a683c922c9815eb9fdce5b0778dc2

Tree: b81a88655dd056aa006e9cd7d7855cef65b1700c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix bad runtime safety test cases

The "slicing operator with sentinel" runtime safety test cases should
all have been compile errors in their current forms. In this commit I
adjust them to use runtime-known slices before triggering the runtime
safety.

Furthermore the test cases did not actually have unique names.

```

## Parents

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

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