Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/browser/test_sdl2_mixer_music.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ int main(int argc, char* argv[])
return -1;
}

frequency = EM_ASM_INT_V({
frequency = EM_ASM_INT({
var context;
try {
context = new AudioContext();
Expand Down
2 changes: 1 addition & 1 deletion test/browser/test_sdl2_mixer_wav.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ int main(int argc, char* argv[]){
puts("Failed to init audio");
return 100;
}
int const frequency = EM_ASM_INT_V({
int const frequency = EM_ASM_INT({
var context;
try {
context = new AudioContext();
Expand Down
1 change: 0 additions & 1 deletion test/core/test_inlinejs3.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ int main(int argc, char **argv) {
EM_ASM(out('hello dere3'); out('hello dere' + 4););
}
EM_ASM({ out('hello input ' + $0) }, 123);
EM_ASM_ARGS({ out('hello input ' + $0) }, 456);
int sum = 0;
for (int i = 0; i < argc * 3; i++) {
sum += EM_ASM_INT({
Expand Down
1 change: 0 additions & 1 deletion test/core/test_inlinejs3.out
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ hello dere4
hello dere3
hello dere4
hello input 123
hello input 456
i: 0,0.00
i: 1,0.08
i: 2,0.17
Expand Down
2 changes: 1 addition & 1 deletion test/fs/test_mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void test_mmap_overallocate() {
assert(write(fd, "a", 1) != -1);
}

EM_ASM_({
EM_ASM({
const stream = FS.streams.find(stream => stream.path.indexOf('yolo/overallocatedfile.txt') >= 0);
assert(stream.node.usedBytes === Number($0),
'Used bytes on the over-allocated file (' + stream.node.usedBytes + ') ' +
Expand Down