Skip to content

Commit

Permalink
work around CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bobzhang committed Oct 22, 2024
1 parent dd9e3a9 commit a098ecd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions json/from_json_test.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,17 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

/// FIXME: remove later, workround formatter bug
fn temp() -> Unit {
()
}


typealias TestX = Map[String, Int]

test {
let _ = temp()
let u = { "x": 3, "y": 4 }
let j = u.to_json()
let h : TestX = @json.from_json!(j)
Expand Down

0 comments on commit a098ecd

Please sign in to comment.