Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/merlin/deps.ts>asserts.assertStringIncludes

Testing and Benchmarking framework for deno 🧙‍♂️
Latest
function asserts.assertStringIncludes
import { asserts } from "https://deno.land/x/merlin@v1.0.7/deps.ts";
const { assertStringIncludes } = asserts;

Make an assertion that actual includes expected. If not then thrown.

Parameters

actual: string
expected: string
optional
msg: string