Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-unstable.html

Issue 2895963003: Apply layout-test-tidy to LayoutTests/webaudio (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-unstable.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-unstable.html b/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-unstable.html
index 11fb1b7c417a624cc65aec3594f0ef094cf25b2a..7631f65987950411ade16350fdc0696030759e10 100644
--- a/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-unstable.html
+++ b/third_party/WebKit/LayoutTests/webaudio/IIRFilter/iir-unstable.html
@@ -1,22 +1,26 @@
-<!doctype html>
+<!DOCTYPE html>
<html>
<head>
- <title>Test Unstable IIR Filter</title>
+ <title>
+ Test Unstable IIR Filter
+ </title>
<script src="../../resources/testharness.js"></script>
- <script src="../../resources/testharnessreport.js"></script>
+ <script src="../../resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script>
<script src="../resources/audit.js"></script>
</head>
-
<body>
- <script>
+ <script id="layout-test-code">
let audit = Audit.createTaskRunner({requireResultFile: true});
audit.define('unstable', (task, should) => {
let context = new OfflineAudioContext(1, 1, 8000);
- should(() => {
- context.createIIRFilter([1], [1, 1.1]);
- }, 'Creating unstable IIR filter with createIIRFilter([1], [1, 1.1])').notThrow();
+ should(
+ () => {
+ context.createIIRFilter([1], [1, 1.1]);
+ },
+ 'Creating unstable IIR filter with createIIRFilter([1], [1, 1.1])')
+ .notThrow();
task.done();
});

Powered by Google App Engine
This is Rietveld 408576698