Skip to content

Commit

Permalink
Don't include SecurityCapabilities test in rbx_dom_lua (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dekkonot authored Sep 22, 2023
1 parent c925260 commit 8c4328e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
9 changes: 9 additions & 0 deletions rbx_dom_lua/src/EncodedValue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,15 @@ types = {
end,
},

SecurityCapabilities = {
fromPod = function(pod)
error("SecurityCapabilities is not implemented")
end,
toPod = function(roblox)
error("SecurityCapabilities is not implemented")
end
},

SharedString = {
fromPod = function(pod)
error("SharedString is not supported")
Expand Down
8 changes: 2 additions & 6 deletions rbx_reflector/src/cli/values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use rbx_types::{
Attributes, Axes, BinaryString, BrickColor, CFrame, Color3, Color3uint8, ColorSequence,
ColorSequenceKeypoint, Content, CustomPhysicalProperties, Enum, Faces, Font, MaterialColors,
Matrix3, NumberRange, NumberSequence, NumberSequenceKeypoint, PhysicalProperties, Ray, Rect,
Region3int16, SecurityCapabilities, Tags, TerrainMaterials, UDim, UDim2, Variant, VariantType,
Vector2, Vector2int16, Vector3, Vector3int16,
Region3int16, Tags, TerrainMaterials, UDim, UDim2, Variant, VariantType, Vector2, Vector2int16,
Vector3, Vector3int16,
};
use serde::Serialize;

Expand Down Expand Up @@ -176,10 +176,6 @@ impl ValuesSubcommand {
values.insert("Vector2int16", Vector2int16::new(-300, 300).into());
values.insert("Vector3", Vector3::new(-300.0, 0.0, 1500.0).into());
values.insert("Vector3int16", Vector3int16::new(60, 37, -450).into());
values.insert(
"SecurityCapabilities",
SecurityCapabilities::from_bits(256).into(),
);

let entries: BTreeMap<&str, TestEntry> = values
.into_iter()
Expand Down

0 comments on commit 8c4328e

Please sign in to comment.