summaryrefslogtreecommitdiff
path: root/tests/indent/ecma/class.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/ecma/class.js')
-rw-r--r--tests/indent/ecma/class.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/indent/ecma/class.js b/tests/indent/ecma/class.js
new file mode 100644
index 00000000..e22cdef3
--- /dev/null
+++ b/tests/indent/ecma/class.js
@@ -0,0 +1,20 @@
+class IndentTest {
+ async isEqual(paramOne, paramTwo) {
+ if (paramOne === paramTwo) {
+ return true
+ }
+
+ return false
+ }
+
+ async isNotEqual(
+ paramOne,
+ paramTwo,
+ ) {
+ if (paramOne !== paramTwo) {
+ return true
+ }
+
+ return false
+ }
+}