Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravencentric committed Dec 2, 2024
1 parent 42cfe56 commit b2c9ef9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_strenum.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

from enum import auto
from typing import cast

import pytest

Expand Down Expand Up @@ -28,7 +29,7 @@ def __str__(self) -> str:


def test_color_values() -> None:
assert Color.RED.value == "red"
assert cast(str, Color.RED.value) == "red"
assert Color.GREEN.value == "green"
assert Color.BLUE.value == "blue"

Expand Down

0 comments on commit b2c9ef9

Please sign in to comment.