Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <eric901201@gmail.com>
  • Loading branch information
Future-Outlier committed May 25, 2024
1 parent c6eda1d commit 4733f0b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/flytekit/unit/core/test_type_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -2275,8 +2275,12 @@ def t1(a: int) -> int:
downstream_t(a=v, df=df)

return v_1

@workflow
def wf(a: int) -> int:
return t1(a=a)

assert t1(a=3) == 9
assert wf(a=3) == 9


def test_literal_hash_int_can_be_set():
Expand Down

0 comments on commit 4733f0b

Please sign in to comment.