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

std/testing/_diff.ts>diffstr

Deno standard library
Go to Latest
function diffstr
import { diffstr } from "https://deno.land/std@0.136.0/testing/_diff.ts";

Renders the differences between the actual and expected strings Partially inspired from https://github.com/kpdecker/jsdiff

Parameters

A: string

Actual string

B: string

Expected string