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

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

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

Report a test failure directly, using String {msg}. Always returns one.

Can also be used as a method:

GetMessage()->assert_report()

Parameters

denops: Denops
msg: unknown

Returns

Promise<number>