Skip to content

Commit 60cbad1

Browse files
committed
Update on "[compiler][repro] Test fixture for fbt whitespace bug"
[ghstack-poisoned]
2 parents 2b62a9b + 3b9299f commit 60cbad1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/fbt/bug-fbt-preserve-whitespace-param.expect.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## Input
33

44
```javascript
5-
import fbt from "fbt";
5+
import fbt from 'fbt';
66

77
/**
88
* Currently fails with the following:
@@ -32,7 +32,7 @@ function Foo(props) {
3232

3333
export const FIXTURE_ENTRYPOINT = {
3434
fn: Foo,
35-
params: [{ name: "Jason" }],
35+
params: [{name: 'Jason'}],
3636
};
3737

3838
```

compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/fbt/bug-fbt-preserve-whitespace-param.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import fbt from "fbt";
1+
import fbt from 'fbt';
22

33
/**
44
* Currently fails with the following:
@@ -28,5 +28,5 @@ function Foo(props) {
2828

2929
export const FIXTURE_ENTRYPOINT = {
3030
fn: Foo,
31-
params: [{ name: "Jason" }],
31+
params: [{name: 'Jason'}],
3232
};

0 commit comments

Comments
 (0)