# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

# Tests for azure.policy.fn.string
builtin: azure.policy.fn.string

cases:
  - note: string_from_string
    args: ["hello"]
    want: "hello"

  - note: string_from_integer
    args: [42]
    want: "42"

  - note: string_from_negative
    args: [-7]
    want: "-7"

  - note: string_from_bool_true
    args: [true]
    want: "true"

  - note: string_from_bool_false
    args: [false]
    want: "false"

  - note: string_from_null
    args: [null]
    want: "null"

  - note: string_from_zero
    args: [0]
    want: "0"

  - note: string_from_empty
    args: [""]
    want: ""
