-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ECMA 6 - Constants and variables and Map/Set tests #139
Conversation
Hey, thanks for the PR! I see you are fixing the indentation errors... You can run As a general rule, you should add an As for the tests i didn't examine them closely but they look good to me! |
@@ -0,0 +1,59 @@ | |||
// Copyright (c) 2013 - present UTN-LIS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review indentation. Please take note of unsupported cases for Puma. This will help to define future tasks on the runtime support.
define(['pumascript'], function (puma) { | ||
|
||
QUnit.module("Ecma6-Map-Set-And-WeakMap-WeakSet-Tests"); | ||
skip("Map get method", function(assert) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave empty blank line
assert.equal(result.value, true); | ||
}); | ||
|
||
skip("Variable let block scope", function(assert) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multiple variable asignation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var result = puma.evalPuma("let s = new Set(); s.add('hello').add('goodbye').add('hello'); s.size === 2;"); | ||
assert.equal(result.value, true); | ||
}); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add empty line at the end.
Really good job! Just small comments! |
assert.ok(result.success && result.value === 'undefined'); | ||
}); | ||
|
||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add blank line at EOF
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Add the empty blank line at EOF.
Work for the following issues:
#132 and #118