Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/vim/mod.ts>assert_equalfile

๐Ÿ“š Standard module for denops.vim
Go to Latest
function assert_equalfile
import { assert_equalfile } from "https://deno.land/x/denops_std@v4.1.4/function/vim/mod.ts";

When the files {fname-one} and {fname-two} do not contain exactly the same text an error message is added to |v:errors|. Also see |assert-return|. When {fname-one} or {fname-two} does not exist the error will mention that. Mainly useful with |terminal-diff|. Can also be used as a |method|: GetLog()->assert_equalfile('expected.log')

Parameters

denops: Denops
fname_one: unknown
fname_two: unknown
optional
msg: unknown

Returns

Promise<unknown>