Logo
Explore Help
Sign In
fluencelabs/wasm-bindgen
1
0
Fork 0
You've already forked wasm-bindgen
mirror of https://github.com/fluencelabs/wasm-bindgen synced 2025-05-08 12:02:17 +00:00
Code Issues Projects Releases Wiki Activity
wasm-bindgen/crates/web-sys/tests/wasm/console.rs

9 lines
184 B
Rust
Raw Normal View History

Closer to finished - Tried `cargo doc` and seen methods generated. - Added test with a few method calls to the console operations.
2018-08-11 12:38:58 +01:00
use wasm_bindgen_test::*;
use web_sys::console;
#[wasm_bindgen_test]
fn test_console() {
Skip args in overloaded method names if all same This commit updates how we name overloaded methods. Previously all argument names were concatenated, but after this commit it only concatenates argument names where at least one possibility has a different type. Otherwise if all possibilities have the same type name it in theory isn't adding too much more information! Additionally this commit also switches to using `_with_` consistently everywhere instead of `_with_` for constructors and `_using_` for methods. Closes #712
2018-08-16 23:13:34 -07:00
console::time_with_label("test label");
console::time_end_with_label("test label");
Closer to finished - Tried `cargo doc` and seen methods generated. - Added test with a few method calls to the console operations.
2018-08-11 12:38:58 +01:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 55ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API